summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-18 15:00:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-18 15:00:27 +0200
commitc6d84a192db8abf037ad08de0379177e5f56b952 (patch)
tree4b6cabd005a65a83dd5a8b0b028a52074560f0d5
parent77628ec981e6c176f81308605b331e3b9ebccd13 (diff)
downloadutils-c6d84a192db8abf037ad08de0379177e5f56b952.tar
utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.gz
utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.bz2
utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.xz
utils-c6d84a192db8abf037ad08de0379177e5f56b952.zip
-rw-r--r--nix/module.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 1c94c8f..10c68ff 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -25,9 +25,9 @@ let
25 wantedBy = [ "multi-user.target" ]; 25 wantedBy = [ "multi-user.target" ];
26 26
27 serviceConfig = { 27 serviceConfig = {
28 ExecStart = let 28 ExecStart = ''
29 sArgs = [ dCfg.path (toString dCfg.maxSize) ] + (optional (dCfg.monitorTimeout != null) (toString dCfg.monitorTimeout)); 29 ${pkgs.rolling-directory}/bin/rolling-directory %I ${toString dCfg.maxSize} monitor ${optionalString (dCfg.monitorTimeout != null) (toString dCfg.monitorTimeout)}
30 in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs sArgs}"; 30 '';
31 }; 31 };
32 }; 32 };
33in { 33in {