Drop Upstart support

This commit is contained in:
jo 2021-09-02 14:11:40 +02:00
parent 3da0310173
commit cac25543c6
5 changed files with 7 additions and 77 deletions

View file

@ -1,19 +0,0 @@
description "Airtime Liquidsoap"
author "help@sourcefabric.org"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
# Respawn it indefinitely
respawn limit unlimited
# Wait 3 seconds before spawning it again though, to throttle CPU.
post-stop exec sleep 3
setuid WEB_USER
setgid WEB_USER
env LANG='en_US.UTF-8'
env LC_ALL='en_US.UTF-8'
exec airtime-liquidsoap

View file

@ -1,19 +0,0 @@
description "Pypo"
author "help@sourcefabric.org"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
# Respawn it indefinitely
respawn limit unlimited
# Wait 3 seconds before spawning it again though, to throttle CPU.
post-stop exec sleep 3
setuid WEB_USER
setgid WEB_USER
env LANG='en_US.UTF-8'
env LC_ALL='en_US.UTF-8'
exec airtime-playout