rc.d.rst
changeset 369 26423d889039
parent 0 0e4335f01909
child 735 5c437e2d5fe1
equal deleted inserted replaced
368:223240c6ca1b 369:26423d889039
     1 -*- outline -*-
     1 -*- outline -*-
       
     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
     2 
    24 
     3 * How manage runlevel for startup script.
    25 * How manage runlevel for startup script.
     4 
    26 
     5 For debian preferred package is sysvconfig(8).
    27 For debian preferred package is sysvconfig(8).
     6 
    28