mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 11:12:27 +01:00 
			
		
		
		
	added LSB headers to init scripts
This commit is contained 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}` | ||||
|   | ||||
| @@ -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}` | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user