svsetup(1)

svsetup1

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

8 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–5.0
  2. 6.0
  3. 7–10

Reporting bugs

Report bugs to Klaus Reimer <[email protected]>

From svtools 0.6-2 in Debian 10 (Buster). Parsed by carta from the page's man source.