G. Pape
runit

# runit - upgrading from previous versions

### 1.6.0 to 1.7.x

With this version the runsv program starts to run the ./finish script with two arguments, the exit code and the exit status of the just finished ./run script. The timestamp svlogd optionally prepends to log messages can be specified to be in iso 8601 alike format. See the man pages for details.

### 1.5.x to 1.6.0

svlogd has been changed to prepend the optional timestamp also to log messages sent to the network through UDP, just as it does for log messages written to a log directory or standard error.

### 1.4.0 or 1.4.1 to 1.5.x

The svlogd program supports a new configuration option p to optionally prefix each line written to logs, standard error, or through UDP with a string, and no longer strips empty lines from the logs.

### 1.3.x to 1.4.0 or 1.4.1

With this version the `runsvctrl`, `runsvstat`, `svwaitdown`, and `svwaitup` programs no longer are being installed, the functionality of these programs has been incorporated into the sv program. The documentation now suggest to put service directories by default into the `/etc/sv/` directory, and a list of frequently asked questions with answers has been added. The chpst program understands a new option -d to limit memory of the data segment per process.

### 1.2.x to 1.3.x

This release introduces a first test version of the sv program, which can be used to control the state and query the status of services monitored by runsv. Optionally it can be sym-linked into `/etc/init.d/` to provide an interface to LSB init script actions for services controlled by runit. See the man page for details. Thanks to Lars Uffmann, instructions on how to run runit under launchd on MacOSX 10.4 have been added.

### 1.1.0 to 1.2.x

With this version the runsv program makes controlling the service through commands normally sent by runsvctrl configurable; arbitrary actions through external programs can optionally be specified, and signalling of the service disabled if desired. See the man page for details.

runsv now reports the seconds since `./run` has been started when running the `./finish` script, instead of the seconds since `./finish` has been started. It no longer reports immediately failing `./run` scripts as ``running'' for up to one second, but as ``down, normally up, want up''.

### 1.0.x to 1.1.0

The svlogd program now interprets the ``e'' and ``E'' configuration options so that they can be combined to select or deselect log messages to be written to standard error, similar to the ``+'' and ``-'' options for the rotated log. It also provides the new ``t'' and ``N'' configuration options, see the man page for details. The chpst program supports adjusting the nice level through the new -n command line option.

Starting with this version, `/etc/runit/2` by default runs the runsvdir program with the -P option. To adapt edit `/etc/runit/2` and change the invocation of runsvdir accordingly, see here.

$Id: upgrade.html,v 1.48 2006/11/21 15:09:10 pape Exp $