-
Notifications
You must be signed in to change notification settings - Fork 11
runsvchdir
runsvchdir - change services directory of runsvdir(8)
runsvchdir dir
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 /service is a symlink to current, and runsvdir(8) is running /service/.
runsvchdir prints an error message and exits 111 on error. runsvchdir exits 0 on success.
/etc/runit/runsvdir/previous
/etc/runit/runsvdir/current
/etc/runit/runsvdir/current.new
runit(8), runit-init(8), runsvdir(8), sv(8), runsv(8), chpst(8), utmpset(8), svlogd(8)
Gerrit Pape pape@smarden.org
Frank Earl linusti@gmail.com
About runit:
Benefits
Frequently Asked Questions (FAQ)
Building runit:
Setting up runit:
Replacing Init
Running WITH Init
Runlevels
Service Dependencies
Execution Modifiers
Using runit commands:
runit
runit-init
sv
runsvdir
runsvchdir
runsv
svlogd
chpst
utmpset