rc.d.rst
changeset 369 26423d889039
parent 0 0e4335f01909
child 735 5c437e2d5fe1
--- a/rc.d.rst	Wed Apr 21 12:36:22 2010 +0300
+++ b/rc.d.rst	Wed Apr 21 17:23:28 2010 +0300
@@ -1,5 +1,27 @@
 -*- outline -*-
 
+* rc.d script.
+
+** SysV type.
+
+  /etc/init.d/*
+                Here scripts.
+  /etc/rc<N>.d/[SK]<NN>name
+                Here symlink to /etc/init.d/ scripts. <N> - runlevel, <NN> -
+                start order from low to high, with K run stop, with S run start.
+
+** Disable service.
+
+To disable the service, rename the symbolic link so that its name begins with
+a K instead of with an S and its sequence number is 100 minus NN.
+
+** Command for scripts.
+
+  start
+  stop
+  restart
+  force-reload
+
 * How manage runlevel for startup script.
 
 For debian preferred package is sysvconfig(8).