author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 21 Apr 2010 17:23:28 +0300 | |
changeset 369 | 26423d889039 |
parent 0 | 0e4335f01909 |
child 735 | 5c437e2d5fe1 |
permissions | -rw-r--r-- |
0 | 1 |
-*- outline -*- |
2 |
||
369
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
3 |
* rc.d script. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
4 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
5 |
** SysV type. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
6 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
7 |
/etc/init.d/* |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
8 |
Here scripts. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
9 |
/etc/rc<N>.d/[SK]<NN>name |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
10 |
Here symlink to /etc/init.d/ scripts. <N> - runlevel, <NN> - |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
11 |
start order from low to high, with K run stop, with S run start. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
12 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
13 |
** Disable service. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
14 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
15 |
To disable the service, rename the symbolic link so that its name begins with |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
16 |
a K instead of with an S and its sequence number is 100 minus NN. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
17 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
18 |
** Command for scripts. |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
19 |
|
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
20 |
start |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
21 |
stop |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
22 |
restart |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
23 |
force-reload |
26423d889039
SysV type rc.d script.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
24 |
|
0 | 25 |
* How manage runlevel for startup script. |
26 |
||
27 |
For debian preferred package is sysvconfig(8). |
|
28 |
||
29 |
See also bum(8) or update-rc.d(8) or sysv-rc-conf(8). |