Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 415

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

cuted as both a start and a stop script, these scripts must understand the parameters
start and stop. The scripts also understand the restart, reload,
force-reload, and status options. These different options are explained in Ta-
ble 20.2, "Possible init Script Options" (page 397). Scripts that are run directly by init
do not have these links. They are run independently from the runlevel when needed.
Table 20.2
Possible init Script Options
Option
start
stop
restart
reload
force-reload
status
Links in each runlevel-specific 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
chkconfig(8) man page.
A short introduction to the boot and stop scripts launched first or last, respectively,
follows as well as an explanation of the maintaining script.
Description
Start service.
Stop service.
If the service is running, stop it then restart it. If it is not
running, start it.
Reload the configuration without stopping and restarting
the service.
Reload the configuration if the service supports this.
Otherwise, do the same as if restart had been given.
Show the current status of service.
Booting and Configuring a Linux System
397

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents