Drop Upstart support
This commit is contained in:
parent
3da0310173
commit
cac25543c6
5 changed files with 7 additions and 77 deletions
|
@ -1,18 +0,0 @@
|
|||
description "LibreTime Celery Service"
|
||||
author "help@libretime.org"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
|
||||
setuid celery
|
||||
setgid celery
|
||||
|
||||
env LANG='en_US.UTF-8'
|
||||
env LC_ALL='en_US.UTF-8'
|
||||
env RMQ_CONFIG_FILE=/etc/airtime/airtime.conf
|
||||
|
||||
chdir /srv/airtime
|
||||
|
||||
exec celery worker -A airtime-celery.tasks:celery --time-limit=300 --concurrency=1 --config=celeryconfig -l INFO
|
|
@ -1,21 +0,0 @@
|
|||
description "Airtime Analyzer"
|
||||
author "help@sourcefabric.org"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
|
||||
setuid www-data
|
||||
setgid www-data
|
||||
|
||||
#expect fork
|
||||
|
||||
env LANG='en_US.UTF-8'
|
||||
env LC_ALL='en_US.UTF-8'
|
||||
|
||||
#script
|
||||
# libretime-analyzer
|
||||
#end script
|
||||
|
||||
exec libretime-analyzer
|
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue