added LSB headers to init scripts

This commit is contained in:
SJ 2013-12-14 11:10:16 +01:00
parent 5fb280b297
commit dfdba3c7f7
3 changed files with 31 additions and 0 deletions

View File

@ -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}`

View File

@ -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}`

View File

@ -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