rc.d.rst
changeset 1781 d3fbdf9fd43f
parent 1780 a77c7517ab90
child 1782 3453d3e251ba
equal deleted inserted replaced
1780:a77c7517ab90 1781:d3fbdf9fd43f
     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).