Operation Manual

Table 16.2
Possible init Script Options
DescriptionOption
Start service.
start
Stop service.
stop
If the service is running, stop it then restart it. If it is
not running, start it.
restart
Reload the conguration without stopping and restarting
the service.
reload
Reload the conguration if the service supports this.
Otherwise, do the same as if restart had been given.
force-reload
Show the current status of service.
status
Links in each runlevel-specic subdirectory make it possible to associate scripts with
different runlevels. When installing or uninstalling packages, these links are added and
removed with the help of the program insserv (or using /usr/lib/lsb/install
_initd, which is a script calling this program). See the insserv(8) man page for details.
All of these settings may also be changed with the help of the YaST module. If you
need to check the status on the command line, use the tool chkconfig, described in
the chkcong(8) man page.
A short introduction to the boot and stop scripts launched rst or last, respectively,
follows as well as an explanation of the maintaining script.
boot
Executed while starting the system directly using init. It is independent of the
chosen runlevel and is only executed once. Here, the /proc and /dev/pts le
systems are mounted and blogd (boot logging daemon) is activated. If the system
is booted for the rst time after an update or an installation, the initial system con-
guration is started.
Booting and Conguring a Linux System 235