cc-2055: switch to init.d

-remove update-rc.d on uninstall
-remove unecessary imports in install/uninstall scripts
-all daemons now wait until apache2 is available before starting (LSB Init Script)
This commit is contained in:
martin 2011-06-01 14:18:58 -04:00
parent 6ab5ac4582
commit 4c9c86bf4f
12 changed files with 42 additions and 20 deletions

View file

@ -1,5 +1,14 @@
#!/bin/bash
### BEGIN INIT INFO
# Provides: airtime-playout
# Required-Start: $local_fs $remote_fs $network $syslog apache2
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Manage airtime-playout daemon
### END INIT INFO
USERID=pypo
GROUPID=pypo
NAME=Airtime