About init.d
|
basics
|
|
syntax
|
module init.d {
service <string>
[service ...]
[stop <boolean>]
[order <string>]
}
via <transport>
|
Dependencies
Arguments
Name |
Type |
Value |
service |
string list |
The names of the init.d scripts to run.
|
stop |
optional boolean, default is yes |
Whether to try stopping the service(s) before starting.
|
order |
optional string, one of "fifo" or "filo", default
is "fifo" |
If more than one service is provided, and stop is
true, the order to execute the scripts in when starting, as compared
to stopping.
|
Description
The init.d module runs scripts under /etc/init.d in
an attempt to restart failed services. The module can optionally
try stopping the service before restarting, and can run multiple
scripts in series.
Examples
- In this example, /etc/init.d/syslogd start will be run when
this fix is executed:
module init.d {
service syslogd
stop no
}
- In this example, the sequence run will be
- /etc/init.d/init.d1 stop
- /etc/init.d/init.d2 stop
- /etc/init.d/init.d2 start
- /etc/init.d/init.d1 start
module init.d {
service init.d1
service init.d2
order filo
}
$Date: 2006/11/19 22:39:20 $
$Revision: 0.5 $
|
keywords
order
service
stop
|