all: cleanup required mounts
This commit is contained in:
parent
3f0820e577
commit
7e920c9aed
4 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ in
|
||||||
description = "Bazarr";
|
description = "Bazarr";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = user;
|
User = user;
|
||||||
|
|
|
@ -21,7 +21,7 @@ in
|
||||||
description = "Prowlarr";
|
description = "Prowlarr";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = user;
|
User = user;
|
||||||
|
|
|
@ -17,5 +17,5 @@ in
|
||||||
group = "mediaserver";
|
group = "mediaserver";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
systemd.services.readarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,5 +17,5 @@ in
|
||||||
group = "mediaserver";
|
group = "mediaserver";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
systemd.services.sanarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue