From dfdba3c7f715eefa6d421e69dcbeca67a22e95db Mon Sep 17 00:00:00 2001 From: SJ Date: Sat, 14 Dec 2013 11:10:16 +0100 Subject: [PATCH] added LSB headers to init scripts --- init.d/rc.piler.in | 11 +++++++++++ init.d/rc.pilergetd.in | 10 ++++++++++ init.d/rc.searchd.in | 10 ++++++++++ 3 files changed, 31 insertions(+) diff --git a/init.d/rc.piler.in b/init.d/rc.piler.in index 23dc7c61..cc603386 100644 --- a/init.d/rc.piler.in +++ b/init.d/rc.piler.in @@ -2,6 +2,17 @@ ## ## +### BEGIN INIT INFO +# Provides: piler +# Required-Start: $remote_fs $syslog $named $network $time mysql +# Required-Stop: $remote_fs $syslog $named $network mysql +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: piler email archiver +# Description: piler email archiver +### END INIT INFO + + NAME=piler PID_FILE=`SBINDIR/pilerconf -q pidfile | cut -f2 -d=` PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}` diff --git a/init.d/rc.pilergetd.in b/init.d/rc.pilergetd.in index a42deb19..56143b30 100644 --- a/init.d/rc.pilergetd.in +++ b/init.d/rc.pilergetd.in @@ -2,6 +2,16 @@ ## ## +### BEGIN INIT INFO +# Provides: pilergetd +# Required-Start: $remote_fs $syslog $named $network $time mysql +# Required-Stop: $remote_fs $syslog $named $network mysql +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: pilergetd daemon +# Description: pilergetd daemon for remote access +### END INIT INFO + NAME=pilergetd PID_FILE=`SBINDIR/pilerconf -q pilergetd_pidfile | cut -f2 -d=` PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}` diff --git a/init.d/rc.searchd.in b/init.d/rc.searchd.in index 0d9bda5c..581b610e 100644 --- a/init.d/rc.searchd.in +++ b/init.d/rc.searchd.in @@ -2,6 +2,16 @@ ## ## +### BEGIN INIT INFO +# Provides: sphinxsearch +# Required-Start: $remote_fs $syslog $named $network $time +# Required-Stop: $remote_fs $syslog $named $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: sphinxsearch +# Description: sphinxsearch +### END INIT INFO + export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin NAME=searchd