runsvchdir(8)

runsvchdir8

Change services directory of runsvdir(8)

Usage

runsvchdir dir

Overview

dir is a services directory for the use with runsvdir(8). If dir does not start with a slash, it is searched in /etc/runit/runsvdir/. dir must not start with a dot.

runsvchdir switches to the directory /etc/runit/runsvdir/, copies current to previous, and replaces current with a symlink pointing to dir.

Normally /etc/service is a symlink to current, and runsvdir(8) is running /etc/service/.

Exit status

runsvchdir prints an error message and exits 111 on error. runsvchdir exits 0 on success.

Files

/etc/runit/runsvdir/previous
/etc/runit/runsvdir/current
/etc/runit/runsvdir/current.new

Releases

11 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–13

Author

Gerrit Pape <[email protected]>

From runit 2.2.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.