table of contents
other versions
- jessie 2.1.2-3
- stretch 2.1.2-9.2
- testing 2.1.2-22
- unstable 2.1.2-25
- experimental 2.1.2-27
runsvchdir(8) | System Manager's Manual | runsvchdir(8) |
NAME¶
runsvchdir - change services directory of runsvdir(8)SYNOPSIS¶
runsvchdir dirDESCRIPTION¶
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 CODES¶
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