Changeset 1191

Show
Ignore:
Timestamp:
07/10/08 13:28:35 (4 months ago)
Author:
nickandrew
Message:

Add an "LSB style header" to init scripts

This is a new requirement for init scripts; it will eventually allow
debian to run boot scripts in parallel. For more information, see
http://wiki.debian.org/LSBInitScripts/

Signed-off-by: Nick Andrew <nick@nick-andrew.net>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/server/debian/mogilefsd.init

    r167 r1191  
    11#! /bin/sh 
     2### BEGIN INIT INFO 
     3# Provides:          mogilefsd 
     4# Required-Start:    $local_fs $remote_fs $network $syslog 
     5# Required-Stop:     $local_fs $remote_fs $network $syslog 
     6# Default-Start:     2 3 4 5 
     7# Default-Stop:      0 1 6 
     8# Short-Description: Start/Stop the mogilefsd daemon 
     9# Description:       Start/Stop the mogilefsd daemon. 
     10### END INIT INFO 
    211# 
    312# skeleton      example file to build /etc/init.d/ scripts. 
  • trunk/server/debian/mogstored.init

    r167 r1191  
    11#! /bin/sh 
     2### BEGIN INIT INFO 
     3# Provides:          mogstored 
     4# Required-Start:    $local_fs $remote_fs $network $syslog 
     5# Required-Stop:     $local_fs $remote_fs $network $syslog 
     6# Default-Start:     2 3 4 5 
     7# Default-Stop:      0 1 6 
     8# Short-Description: Start/Stop the mogstored daemon 
     9# Description:       Start/Stop the mogstored daemon. 
     10### END INIT INFO 
    211# 
    312# skeleton      example file to build /etc/init.d/ scripts.