diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 14:54:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 14:54:21 +0200 |
commit | e2818a984d87f513f05b3f71625fc4a027f12015 (patch) | |
tree | 32b46069b1a7067b2c62149dc856449c5fdcb657 | |
parent | 263e5d3084d522647c9224287917a08709c9559f (diff) | |
download | utils-e2818a984d87f513f05b3f71625fc4a027f12015.tar utils-e2818a984d87f513f05b3f71625fc4a027f12015.tar.gz utils-e2818a984d87f513f05b3f71625fc4a027f12015.tar.bz2 utils-e2818a984d87f513f05b3f71625fc4a027f12015.tar.xz utils-e2818a984d87f513f05b3f71625fc4a027f12015.zip |
…
-rw-r--r-- | nix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/module.nix b/nix/module.nix index 05c092d..401b956 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
@@ -26,8 +26,8 @@ let | |||
26 | 26 | ||
27 | serviceConfig = { | 27 | serviceConfig = { |
28 | ExecStart = let | 28 | ExecStart = let |
29 | args = [ path (toString maxSize) ] + optional (monitorTimeout != null) monitorTimeout; | 29 | sArgs = [ path (toString maxSize) ] + (optional (monitorTimeout != null) monitorTimeout); |
30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs args}"; | 30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs sArgs}"; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |
33 | in { | 33 | in { |