svsetup(8)

svsetup8

Service setup tool for daemontools

Usage

svsetup [OPTION] ... CMD SERVICE

Overview

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.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–12
  2. 13

Reporting bugs

Report bugs to Klaus Reimer <[email protected]>

From svtools 0.6-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.