nixos/bazarr: fix unit: add RequiresMountsFor for data directory
This helps correctness for systems which need to mount particular directories (impermanence, preservation). This option has no effect if the system does not need to mount directories / if no mountpoints exist for this directory or its parents. Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
This commit is contained in:
@@ -72,6 +72,7 @@ in
|
||||
KillSignal = "SIGINT";
|
||||
SuccessExitStatus = "0 156";
|
||||
};
|
||||
unitConfig.RequiresMountsFor = [ cfg.dataDir ];
|
||||
};
|
||||
|
||||
networking.firewall = lib.mkIf cfg.openFirewall {
|
||||
|
||||
Reference in New Issue
Block a user