summaryrefslogtreecommitdiff
path: root/units/lorry-controller-remove-ghost-jobs.timer
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-06-26 16:00:39 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-09-04 16:25:45 +0000
commit5cf3f8eb6df06994bade02db6006ea8a102d02ae (patch)
tree17a602414df3d24d8a940e2bb1e2edfbbd6b7352 /units/lorry-controller-remove-ghost-jobs.timer
parentfcce17aa00de4c8a638ee631048dd8b89f1aa65d (diff)
downloadlorry-controller-5cf3f8eb6df06994bade02db6006ea8a102d02ae.tar.gz
Add systemd units to remove ghost jobs automatically
Diffstat (limited to 'units/lorry-controller-remove-ghost-jobs.timer')
-rw-r--r--units/lorry-controller-remove-ghost-jobs.timer6
1 files changed, 6 insertions, 0 deletions
diff --git a/units/lorry-controller-remove-ghost-jobs.timer b/units/lorry-controller-remove-ghost-jobs.timer
new file mode 100644
index 0000000..bbbb003
--- /dev/null
+++ b/units/lorry-controller-remove-ghost-jobs.timer
@@ -0,0 +1,6 @@
+[Unit]
+Description=Lorry Controller remove ghost jobs
+After=lighttpd-lorry-controller-webapp.service
+
+[Timer]
+OnUnitInactiveSec=60