diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:00:27 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:00:27 +0200 |
commit | c6d84a192db8abf037ad08de0379177e5f56b952 (patch) | |
tree | 4b6cabd005a65a83dd5a8b0b028a52074560f0d5 /nix/module.nix | |
parent | 77628ec981e6c176f81308605b331e3b9ebccd13 (diff) | |
download | utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.gz utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.bz2 utils-c6d84a192db8abf037ad08de0379177e5f56b952.tar.xz utils-c6d84a192db8abf037ad08de0379177e5f56b952.zip |
…
Diffstat (limited to 'nix/module.nix')
-rw-r--r-- | nix/module.nix | 6 |
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 | }; |
33 | in { | 33 | in { |