From d91b652951cf9203c8e8cd255a0e0a81af6d2591 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 17 Oct 2014 15:27:19 +0300 Subject: Add systemd units to trigger old job removal --- units/lorry-controller-remove-old-jobs.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 units/lorry-controller-remove-old-jobs.service (limited to 'units/lorry-controller-remove-old-jobs.service') 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 -- cgit v1.2.1