runit

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

upgrade.html (5147B)


      1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
      2 <html>
      3 <head>
      4 <title>runit - upgrading from previous versions</title>
      5 </head>
      6 <body>
      7 <a href="http://smarden.org/pape/">G. Pape</a><br>
      8 <a href="index.html">runit</a><br>
      9 <hr>
     10 <h1>runit - upgrading from previous versions</h1>
     11 <hr>
     12 <h3>2.0.0 to 2.1.2</h3>
     13 The <a href="chpst.8.html">chpst</a> program learned a new option -b to run
     14 a program with a different name as the 0th argument.
     15 <h3>1.9.0 to 2.0.0</h3>
     16 No further action from you is required.
     17 <h3>1.8.0 to 1.9.0</h3>
     18 The default directory for services is now <tt>/service/</tt>, and no longer
     19 <tt>/var/service/</tt>.
     20 To be consistent with the new default location, create a symlink when
     21 upgrading
     22 <pre>
     23  # ln -s /var/service /
     24 </pre>
     25 When installing runit on a system that should comply with the Filesystem
     26 Hierarchy Standard (FHS), neither <tt>/service/</tt> nor
     27 <tt>/var/service/</tt> should be chosen, but <tt>/etc/service/</tt>.
     28 It is recommended to create a compatibility symlink <tt>/service</tt>
     29 pointing to <tt>/etc/service</tt> in this case.
     30 <h3>1.7.x to 1.8.0</h3>
     31 The <a href="runit.8.html">runit</a> program, the process no 1, has been
     32 fixed to reap dead processes that re-parented to process no 1 (zombies)
     33 more thoroughly.
     34 Instructions on how to run <tt>runit</tt> with upstart as init scheme have
     35 been added, <a href="svlogd.8.html">svlogd</a> has been changed to use a
     36 new source port for each log message sent through udp, and this release
     37 includes a build fix for AIX.
     38 <h3>1.6.0 to 1.7.x</h3>
     39 With this version the <a href="runsv.8.html">runsv</a> program starts to
     40 run the ./finish script with two arguments, the exit code and the exit
     41 status of the just finished ./run script.
     42 The timestamp <a href="svlogd.8.html">svlogd</a> optionally prepends to log
     43 messages can be specified to be in iso 8601 alike format.
     44 See the man pages for details.
     45 <h3>1.5.x to 1.6.0</h3>
     46 <a href="svlogd.8.html">svlogd</a> has been changed to prepend the optional
     47 timestamp also to log messages sent to the network through UDP, just as it
     48 does for log messages written to a log directory or standard error.
     49 <h3>1.4.0 or 1.4.1 to 1.5.x</h3>
     50 The <a href="svlogd.8.html">svlogd</a> program supports a new configuration
     51 option p to optionally prefix each line written to logs, standard error, or
     52 through UDP with a string, and no longer strips empty lines from the logs.
     53 <h3>1.3.x to 1.4.0 or 1.4.1</h3>
     54 With this version the <tt>runsvctrl</tt>, <tt>runsvstat</tt>,
     55 <tt>svwaitdown</tt>, and <tt>svwaitup</tt> programs no longer are being
     56 installed, the functionality of these programs has been incorporated into
     57 the <a href="sv.8.html">sv</a> program.
     58 The documentation now suggest to put service directories by default into
     59 the <tt>/etc/sv/</tt> directory, and a list of frequently asked questions
     60 with answers has been added.
     61 The <a href="chpst.8.html">chpst</a> program understands a new option -d
     62 to limit memory of the data segment per process.
     63 <h3>1.2.x to 1.3.x</h3>
     64 This release introduces a first test version of the <a href="sv.8.html">sv</a>
     65 program, which can be used to control the state and query the status of
     66 services monitored by <a href="runsv.8.html">runsv</a>.
     67 Optionally it can be sym-linked into <tt>/etc/init.d/</tt> to provide an
     68 interface to LSB init script actions for services controlled by runit.
     69 See the <a href="sv.8.html">man page</a> for details.
     70 Thanks to Lars Uffmann, instructions on how to run runit under launchd on
     71 MacOSX 10.4 have been added.
     72 <h3>1.1.0 to 1.2.x</h3>
     73 With this version the <a href="runsv.8.html">runsv</a> program makes
     74 controlling the service through commands normally sent by
     75 <a href="runsvctrl.8.html">runsvctrl</a> configurable;
     76 arbitrary actions through external programs can optionally be specified, and
     77 signalling of the service disabled if desired.
     78 See the <a href="runsv.8.html">man page</a> for details.
     79 <p>
     80 <a href="runsv.8.html">runsv</a> now reports the seconds since <tt>./run</tt>
     81 has been started when running the <tt>./finish</tt> script, instead of the
     82 seconds since <tt>./finish</tt> has been started.
     83 It no longer reports immediately failing <tt>./run</tt> scripts as ``running''
     84 for up to one second, but as ``down, normally up, want up''.
     85 <h3>1.0.x to 1.1.0</h3>
     86 The <a href="svlogd.8.html">svlogd</a> program now interprets the ``e'' and
     87 ``E'' configuration options so that they can be combined to select or
     88 deselect log messages to be written to standard error, similar to the ``+''
     89 and ``-'' options for the rotated log.
     90 It also provides the new ``t'' and ``N'' configuration options, see the
     91 <a href="svlogd.8.html">man page</a> for details.
     92 The <a href="chpst.8.html">chpst</a> program supports adjusting the nice
     93 level through the new -n command line option.
     94 <p>
     95 Starting with this version, <tt>/etc/runit/2</tt> by default runs the
     96 <a href="runsvdir.8.html">runsvdir</a> program with the -P option.
     97 To adapt edit <tt>/etc/runit/2</tt> and change the invocation of
     98 <a href="runsvdir.8.html">runsvdir</a> accordingly, see
     99 <a href="../etc/2"">here</a>.
    100 <hr>
    101 <address><a href="mailto:pape@smarden.org">
    102 Gerrit Pape &lt;pape@smarden.org&gt;
    103 </a></address>
    104 </body>
    105 </html>