Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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    /usr/lo-
       cal/etc/runit/runsvdir/.	 dir must not start with a dot.

       runsvchdir  switches  to	 the directory /usr/local/etc/runit/runsvdir/,
       copies current to previous, and replaces	current	with a symlink	point-
       ing to dir.

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

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

FILES
	/usr/local/etc/runit/runsvdir/previous
	/usr/local/etc/runit/runsvdir/current
	/usr/local/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)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=runsvchdir&sektion=8&manpath=FreeBSD+Ports+14.3.quarterly>

home | help