summaryrefslogtreecommitdiff
path: root/units/lorry-controller-remove-old-jobs.timer
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-10-17 15:27:19 +0300
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-23 09:47:27 +0100
commitd91b652951cf9203c8e8cd255a0e0a81af6d2591 (patch)
tree90d364dc107b0c032ecc5befc4f36393d9b655b0 /units/lorry-controller-remove-old-jobs.timer
parent6cee48214c995b4ff720d96b290bc6e761823cde (diff)
downloadlorry-controller-d91b652951cf9203c8e8cd255a0e0a81af6d2591.tar.gz
Add systemd units to trigger old job removalbaserock/pedroalvarez/old-jobs-removal
Diffstat (limited to 'units/lorry-controller-remove-old-jobs.timer')
-rw-r--r--units/lorry-controller-remove-old-jobs.timer8
1 files changed, 8 insertions, 0 deletions
diff --git a/units/lorry-controller-remove-old-jobs.timer b/units/lorry-controller-remove-old-jobs.timer
new file mode 100644
index 0000000..508a43f
--- /dev/null
+++ b/units/lorry-controller-remove-old-jobs.timer
@@ -0,0 +1,8 @@
+[Unit]
+Description=Lorry Controller remove old jobs
+
+[Install]
+WantedBy=multi-user.target
+
+[Timer]
+OnUnitInactiveSec=60