runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

runsvchdir.8.html (1856B)


      1 
      2 
      3 
      4 <html>
      5 <head>
      6 <title>runsvchdir(8) manual page</title>
      7 </head>
      8 <body bgcolor='white'>
      9 <a href='http://smarden.org/pape/'>G. Pape</a><br><a href='index.html'>runit</A><hr><p>
     10 
     11 <h2><a name='sect0'>Name</a></h2>
     12 runsvchdir - change services directory of <i>runsvdir(8)</i> 
     13 <h2><a name='sect1'>Synopsis</a></h2>
     14 <b>runsvchdir</b>
     15 <i>dir</i> 
     16 <h2><a name='sect2'>Description</a></h2>
     17 <i>dir</i> is a services directory for the use with <i><b>runsvdir</b>(8)</i>.
     18 If <i>dir</i> does not start with a slash, it is searched in /etc/runit/runsvdir/.
     19 <i>dir</i> must not start with a dot. <p>
     20 <b>runsvchdir</b> switches to the directory <i>/etc/runit/runsvdir/</i>,
     21 copies <i>current</i> to <i>previous</i>, and replaces <i>current</i> with a symlink pointing
     22 to <i>dir</i>. <p>
     23 Normally  <i>/service</i> is a symlink to <i>current</i>, and <i><b>runsvdir</b>(8)</i> is running
     24 <i>/service/</i>. 
     25 <h2><a name='sect3'>Exit Codes</a></h2>
     26 <b>runsvchdir</b> prints an error message and exits 111 on
     27 error. <b>runsvchdir</b> exits 0 on success. 
     28 <h2><a name='sect4'>Files</a></h2>
     29  /etc/runit/runsvdir/previous<br>
     30   /etc/runit/runsvdir/current<br>
     31   /etc/runit/runsvdir/current.new<br>
     32  
     33 <h2><a name='sect5'>See Also</a></h2>
     34 <i>runsvdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>sv(8)</i>, <i>runsv(8)</i> <p>
     35 <i>http://smarden.org/runit/</i>
     36 
     37 <h2><a name='sect6'>Author</a></h2>
     38 Gerrit Pape &lt;pape@smarden.org&gt; <p>
     39 
     40 <hr><p>
     41 <a name='toc'><b>Table of Contents</b></a><p>
     42 <ul>
     43 <li><a name='toc0' href='#sect0'>Name</a></li>
     44 <li><a name='toc1' href='#sect1'>Synopsis</a></li>
     45 <li><a name='toc2' href='#sect2'>Description</a></li>
     46 <li><a name='toc3' href='#sect3'>Exit Codes</a></li>
     47 <li><a name='toc4' href='#sect4'>Files</a></li>
     48 <li><a name='toc5' href='#sect5'>See Also</a></li>
     49 <li><a name='toc6' href='#sect6'>Author</a></li>
     50 </ul>
     51 </body>
     52 </html>