cofractal-ams01: make bindMountSvc more stable
This commit is contained in:
parent
a7cf52919d
commit
b985351394
1 changed files with 3 additions and 2 deletions
|
@ -180,8 +180,9 @@ in
|
|||
where = dir;
|
||||
};
|
||||
bindMountSvc = dir: svc: (bindMount' dir) // {
|
||||
bindsTo = [svc];
|
||||
partOf = [svc];
|
||||
requiredBy = [svc];
|
||||
before = [svc];
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
bindMountSvcDynamic = dir: svc: (bindMount' "/var/lib/private/${dir}") // {
|
||||
requiredBy = [svc];
|
||||
|
|
Loading…
Reference in a new issue