added startup script for upstart

This commit is contained in:
Matthias Hannig 2017-05-29 12:51:04 +02:00
parent d60ab9dc2b
commit 3a5b47b92f

View File

@ -0,0 +1,14 @@
# Alice Looking Glass
description "Alice Looking Glass"
author "Matthias Hannig <mha@ecix.net>"
respawn
respawn limit 20 10
start on runleve [2345]
stop on runlevel [!2345]
exec start-stop-daemon --start --chuid alicelg --exec /opt/ecix/alicelg/bin/alice-lg-linux-amd64 2>&1 | logger -i -t 'ALICE LG'