diff options
Diffstat (limited to 'units/lorry-controller-remove-ghost-jobs.service')
-rw-r--r-- | units/lorry-controller-remove-ghost-jobs.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/units/lorry-controller-remove-ghost-jobs.service b/units/lorry-controller-remove-ghost-jobs.service new file mode 100644 index 0000000..e28a494 --- /dev/null +++ b/units/lorry-controller-remove-ghost-jobs.service @@ -0,0 +1,12 @@ +[Unit] +Description=Lorry Controller remove ghost jobs +After=lighttpd-lorry-controller-webapp.service + +[Install] +WantedBy=multi-user.target + +[Service] +ExecStart=/usr/bin/curl -o /dev/null -X POST -d '' http://localhost:12765/1.0/remove-ghost-jobs +Restart=no +User=lorry +Group=lorry |