logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

svsetup - Service setup tool for daemontools

Description

       Service setup tool for daemontools

       -u USER
              Specify service user name (Default: root)

       -l USER
              Specify log user name (Default: root)

       -n     Do not setup logging with multilog

       -e ETCDIR
              Specify cfg directory (Default: /etc/sv/SERVICE)

       -L LOGDIR
              Specify log directory (Default: /var/log/sv/SERVICE)

       -s SERVICEDIR
              Specify service directory (Default: automatically

              detected)

       -d     Delete service user on removal

       -D     Delete log user on removal

       -h, --help
              Display help and exit

       -V, --version
              Display version and exit

       CMD    Specifies action to perform:

       CREATE Create new service

       REMOVE Delete existing service

       ENABLE Enable service

       DISABLE
              Disable service

       SERVICE
              Specifies the service name

       NOTE:  If  you  REMOVE  a  service and specify a service user (with -u) and/or a log user (with -l) these
       users (except root) are removed, too, if you also specify the option -d and/or -D! This  happens  without
       any confirmation requests and the users are deleted even if they were not created by svsetup!

       If  you  create a new service a default run script is created. If there is already a run script in ETCDIR
       this existing runscript is used instead.

Name

       svsetup - Service setup tool for daemontools

Reporting Bugs

       Report bugs to Klaus Reimer <k@ailis.de>

Synopsis

svsetup [OPTION]... CMDSERVICE

See Also