aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/init.d/rc.debian.asterisk12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index c8e13ef41..4d9bb15f1 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -41,6 +41,18 @@ TRUE=/bin/true
# this out.
COLOR=yes
+### BEGIN INIT INFO
+# Provides: asterisk
+# Required-Start: $network $syslog $named $local_fs $remote_fs
+# Required-Stop: $network $syslog $named $local_fs $remote_fs
+# Should-Start: dahdi misdn lcr wanrouter mysql postgresql
+# Should-Stop: dahdi misdn lcr wanrouter mysql postgresql
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Asterisk PBX
+# Description: the Asterisk Open Source PBX
+### END INIT INFO
+
set -e
if ! [ -x $DAEMON ] ; then