mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:11:59 +01:00
added LSB headers to init scripts
This commit is contained in:
parent
5fb280b297
commit
dfdba3c7f7
@ -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
|
NAME=piler
|
||||||
PID_FILE=`SBINDIR/pilerconf -q pidfile | cut -f2 -d=`
|
PID_FILE=`SBINDIR/pilerconf -q pidfile | cut -f2 -d=`
|
||||||
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
|
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_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
|
NAME=pilergetd
|
||||||
PID_FILE=`SBINDIR/pilerconf -q pilergetd_pidfile | cut -f2 -d=`
|
PID_FILE=`SBINDIR/pilerconf -q pilergetd_pidfile | cut -f2 -d=`
|
||||||
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
|
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_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
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
||||||
|
|
||||||
NAME=searchd
|
NAME=searchd
|
||||||
|
Loading…
Reference in New Issue
Block a user