diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 14:58:47 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 14:58:47 +0200 |
commit | 77628ec981e6c176f81308605b331e3b9ebccd13 (patch) | |
tree | d9851a8d7de6fe418f2515c498e593b4f6570942 /nix | |
parent | ead0fb7562ff66be20d77fe59f4cf4c42b24f636 (diff) | |
download | utils-77628ec981e6c176f81308605b331e3b9ebccd13.tar utils-77628ec981e6c176f81308605b331e3b9ebccd13.tar.gz utils-77628ec981e6c176f81308605b331e3b9ebccd13.tar.bz2 utils-77628ec981e6c176f81308605b331e3b9ebccd13.tar.xz utils-77628ec981e6c176f81308605b331e3b9ebccd13.zip |
…
Diffstat (limited to 'nix')
-rw-r--r-- | nix/module.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/module.nix b/nix/module.nix index 809b1df..1c94c8f 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
@@ -26,7 +26,7 @@ let | |||
26 | 26 | ||
27 | serviceConfig = { | 27 | serviceConfig = { |
28 | ExecStart = let | 28 | ExecStart = let |
29 | sArgs = [ dCfg.path (toString dCfg.maxSize) ] + (optional (dCfg.monitorTimeout != null) dCfg.monitorTimeout); | 29 | sArgs = [ dCfg.path (toString dCfg.maxSize) ] + (optional (dCfg.monitorTimeout != null) (toString dCfg.monitorTimeout)); |
30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs sArgs}"; | 30 | in "${pkgs.rolling-directory}/bin/rolling-directory ${escapeShellArgs sArgs}"; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |