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