summary refs log tree commit diff
path: root/modules/auto-redeploy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auto-redeploy.nix')
-rw-r--r--modules/auto-redeploy.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix
index 5b68353..c50b98e 100644
--- a/modules/auto-redeploy.nix
+++ b/modules/auto-redeploy.nix
@@ -5,9 +5,8 @@
       wantedBy = [ "timers.target" ];
       after = [ "network.target" ];
       timerConfig = {
-        #every 30 seconds since boot
-        OnBootSec = "30s";
-        OnUnitActiveSec = "5s";
+        #every 30 seconds
+        OnCalendar = "*:0/10";
         Unit = "auto-redeploy.service";
       };
     };