about summary refs log tree commit diff
path: root/README.md
blob: 1008a701c5de340f0255ca24d3ef3ac197f526f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# svtree

a frontend for s6-rc, with support for service templating, that you can run as
a user service manager, but that also works for system services.

## svtree-run

spawns the s6-svscan process that is the root of the supervision tree, calls
s6-rc-init and requests the `default` bundle to run

## svtree-compile

reloads the service definitions and swaps the active supervision tree

## svtree-generate

generates service definitions from templates

## $XDG_CONFIG_HOME/s6-rc/src

this is the base s6-rc service tree that is merged with the services generated
by `s6-rc-generate`.
There MUST at least be a default target, most commonly a `bundle` that declares
the set of services that should run on boot.

## $XDG_CONFIG_HOME/s6-rc/templates

defines a set of services templates `s6-rc-generate` uses as input,
the string `+service` will be replaced with the target service name
(works in file names and inside files)

## $XDG_CONFIG_HOME/s6-rc/generate

defines a set of services `s6-rc-generate` should generate,
the names MUST be in the format <template>.<service>