hosts/legion/nas: enable restic, make services depend on zfs mount
This commit is contained in:
parent
fce605589e
commit
a1d60a6107
2 changed files with 25 additions and 2 deletions
|
@ -37,11 +37,14 @@
|
|||
systemd.mounts = [
|
||||
{
|
||||
type = "none";
|
||||
options = "bind,nofail";
|
||||
options = "bind";
|
||||
what = "/media/data";
|
||||
where = "/export/yotta-data";
|
||||
requires = [ "zfs-mount.service" ];
|
||||
after = [ "zfs-mount.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = ["nfs-server.service"];
|
||||
requiredBy = ["nfs-server.service"];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue