author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 05 Aug 2015 23:55:34 +0300 | |
changeset 1729 | 22ffd80639c0 |
parent 899 | 7b4265c8d324 |
permissions | -rw-r--r-- |
899
7b4265c8d324
Set fill-column as directory local var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
1 |
-*- mode: outline; coding: utf-8; -*- |
0 | 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). |