summaryrefslogtreecommitdiff
path: root/contrib/init.d
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-07 17:02:38 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-07 17:02:38 +0000
commitec6f1f3ea48d505e7774dd1863c47806789c9755 (patch)
treefb9260b31f18b1ba35402dd87b46356546b1bbcd /contrib/init.d
parent10fa8fe8d0a1146323a9bc4b4c4feb3d6275c5d7 (diff)
Add LSB headers to the Debian init.d script
See also issue #14864 . git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/init.d')
-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 889bd1eaa..6431d2d1a 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -26,6 +26,18 @@ ASTVARRUNDIR=__ASTERISK_VARRUN_DIR__
ASTETCDIR=__ASTERISK_ETC_DIR__
TRUE=/bin/true
+### BEGIN INIT INFO
+# Provides: asterisk
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Should-Start: dahdi mysql postgresql
+# Should-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Asterisk PBX
+# Description: the Asterisk Open Source PBX
+### END INIT INFO
+
# Uncomment this ONLY if you know what you are doing.
# export LD_ASSUME_KERNEL=2.4.1