summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {