summaryrefslogtreecommitdiff
path: root/units/lorry-controller-remove-old-jobs.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-23 09:49:37 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-23 09:49:37 +0100
commitd7ca3f2f14ad28437f7332ca387a790fecb8b081 (patch)
tree90d364dc107b0c032ecc5befc4f36393d9b655b0 /units/lorry-controller-remove-old-jobs.service
parentf9ea6b7761a5dbfe7b5e5b2adcabf70525184d7e (diff)
parentd91b652951cf9203c8e8cd255a0e0a81af6d2591 (diff)
downloadlorry-controller-d7ca3f2f14ad28437f7332ca387a790fecb8b081.tar.gz
Merge branch 'baserock/pedroalvarez/old-jobs-removal'
Reviewed-by: Richard Maw Reviewed-by: Pedro Alvarez
Diffstat (limited to 'units/lorry-controller-remove-old-jobs.service')
-rw-r--r--units/lorry-controller-remove-old-jobs.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/units/lorry-controller-remove-old-jobs.service b/units/lorry-controller-remove-old-jobs.service
new file mode 100644
index 0000000..d1372b4
--- /dev/null
+++ b/units/lorry-controller-remove-old-jobs.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Lorry Controller remove old jobs
+After=lighttpd-lorry-controller-webapp.service
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+ExecStart=/usr/bin/lorry-controller-remove-old-jobs
+Restart=no
+User=lorry
+Group=lorry