1# SPDX-FileCopyrightText: no
2# SPDX-License-Identifier: CC0-1.0
3#
4# openrc services module to modify service runlevels via rc-update in the chroot
5#
6# Services can be added (to any runlevel, or multiple runlevels) or deleted.
7# Handle del with care and only use it if absolutely necessary.
8#
9# if a service is listed in the conf but is not present/detected on the target system,
10# or a runlevel does not exist, it will be ignored and skipped; a warning is logged.
11#
12---
13# initdDir: holds the openrc service directory location
14initdDir: /etc/init.d
15
16# runlevelsDir: holds the runlevels directory location
17runlevelsDir: /etc/runlevels
18
19# services: a list of entries to **enable**
20# disable: a list of entries to **disable**
21#
22# Each entry has three fields:
23#   - name: the service name
24#   - (optional) runlevel: can hold any runlevel present on the target
25#     system; if no runlevel is provided, "default" is assumed.
26#   - (optional) mandatory: if set to true, a failure to modify
27#     the service will result in installation failure, rather than just
28#     a warning. The default is false.
29#
30# an entry may also be a single string, which is interpreted
31# as the name field (runlevel "default" is assumed then, and not-mandatory).
32#
33# # Example services and disable settings:
34# # - add foo1 to default, but it must succeed
35# # - add foo2 to nonetwork
36# # - remove foo3 from default
37# # - remove foo4 from default
38# services:
39#     - name: foo1
40#       mandatory: true
41#     - name: foo2
42#       runlevel: nonetwork
43# disable:
44#     - name: foo3
45#       runlevel: default
46#     - foo4
47services: []
48disable: []
49
50