1service(8)                  System Manager's Manual                 service(8)
2
3
4

NAME

6       service - run a System V init script
7
8

SYNOPSIS

10       service SCRIPT COMMAND [OPTIONS]
11
12       service --status-all
13
14       service --help | -h | --version
15
16

DESCRIPTION

18       service  runs  a  System V init script in as predictable environment as
19       possible, removing most environment variables and with current  working
20       directory set to /.
21
22       The  SCRIPT  parameter  specifies  a  System  V init script, located in
23       /etc/init.d/SCRIPT.  The supported values  of  COMMAND  depend  on  the
24       invoked  script,  service  passes  COMMAND  and  OPTIONS it to the init
25       script unmodified.  All scripts should support at least the  start  and
26       stop  commands.   As  a special case, if COMMAND is --full-restart, the
27       script is run twice, first with the stop command, then with  the  start
28       command.
29
30       service --status-all runs all init scripts, in alphabetical order, with
31       the status command.
32
33

FILES

35       /etc/init.d
36              The directory containing System V init scripts.
37
38

ENVIRONMENT

40       LANG, TERM
41              The only environment variables passed to the init scripts.
42
43

SEE ALSO

45       chkconfig(8), ntsysv(8)
46
47
48
49                                   Jan 2006                         service(8)
Impressum