summaryrefslogtreecommitdiff
path: root/scripts/scalelite-auto-deployer.timer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scalelite-auto-deployer.timer')
-rw-r--r--scripts/scalelite-auto-deployer.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/scalelite-auto-deployer.timer b/scripts/scalelite-auto-deployer.timer
new file mode 100644
index 0000000..ec51cc1
--- /dev/null
+++ b/scripts/scalelite-auto-deployer.timer
@@ -0,0 +1,12 @@
+[Unit]
+Description=Runs scalelite-deploy every minute
+
+[Timer]
+# Time to wait after booting before we run first time
+OnBootSec=1min
+# Time between running each consecutive time
+OnUnitActiveSec=1m
+Unit=scalelite-auto-deployer.service
+
+[Install]
+WantedBy=multi-user.target