debian man page for runsvchdir

Query: runsvchdir

OS: debian

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

runsvchdir(8)						      System Manager's Manual						     runsvchdir(8)

NAME
runsvchdir - change services directory of runsvdir(8)
SYNOPSIS
runsvchdir dir
DESCRIPTION
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
SEE ALSO
runsvdir(8), runit(8), runit-init(8), sv(8), runsv(8) http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org> runsvchdir(8)
Related Man Pages
runit-init(8) - debian
runsvchdir(8) - centos
runsvdir(8) - centos
runit(8) - suse
runsvdir(8) - suse
Similar Topics in the Unix Linux Community
Ignore diriectories within a script
cannot cd or rename the directory &quot;{};&quot;
to write a script to compare the file size in the current directory and previous dir
How to create a dir with name &quot;current date&quot;.
Save all the file of current date in another dir?