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;
|
where = dir;
|
||||||
};
|
};
|
||||||
bindMountSvc = dir: svc: (bindMount' dir) // {
|
bindMountSvc = dir: svc: (bindMount' dir) // {
|
||||||
bindsTo = [svc];
|
requiredBy = [svc];
|
||||||
partOf = [svc];
|
before = [svc];
|
||||||
|
wantedBy = ["multi-user.target"];
|
||||||
};
|
};
|
||||||
bindMountSvcDynamic = dir: svc: (bindMount' "/var/lib/private/${dir}") // {
|
bindMountSvcDynamic = dir: svc: (bindMount' "/var/lib/private/${dir}") // {
|
||||||
requiredBy = [svc];
|
requiredBy = [svc];
|
||||||
|
|
Loading…
Reference in a new issue