rc.d.rst
changeset 1801 8d1f64bb9f7f
parent 1800 52dc917e83bb
parent 1787 274aa5f80036
child 1802 a49db2d22443
equal deleted inserted replaced
1800:52dc917e83bb 1801:8d1f64bb9f7f
     1 -*- mode: outline; coding: utf-8; -*-
       
     2 
       
     3 * rc.d script.
       
     4 
       
     5 ** SysV type.
       
     6 
       
     7   /etc/init.d/*
       
     8                 Here scripts.
       
     9   /etc/rc<N>.d/[SK]<NN>name
       
    10                 Here symlink to /etc/init.d/ scripts. <N> - runlevel, <NN> -
       
    11                 start order from low to high, with K run stop, with S run start.
       
    12 
       
    13 ** Disable service.
       
    14 
       
    15 To disable the service, rename the symbolic link so that its name begins with
       
    16 a K instead of with an S and its sequence number is 100 minus NN.
       
    17 
       
    18 ** Command for scripts.
       
    19 
       
    20   start
       
    21   stop
       
    22   restart
       
    23   force-reload
       
    24 
       
    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).