phpMan > info > runsvchdir(8)

Markdown | JSON | MCP    

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 cur-
       rent to previous, and replaces current with a symlink pointing to dir.

       Normally /etc/service is a symlink to current, and runsvdir(8) is  run-
       ning /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 AT smarden.org>

                                                                 runsvchdir(8)

Generated by phpMan v3.6.3-2-gc817beb Author: Che Dong Under GNU General Public License
2026-06-08 09:22 @216.73.217.65
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!