diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-03-23 06:40:18 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-03-23 06:44:01 -0400 |
commit | 89611c7111cdb8b970ac15da089f5ddc64b3b2b1 (patch) | |
tree | 6a01272ff02b444f8c9508991f903bc87853da8f /src/modules/services-openrc/services-openrc.conf | |
parent | f16e94771334e601512dba9fc6969ddfda6e588a (diff) | |
parent | 496f9fdaf1f171df777f5628767f7f71bf2e1bea (diff) |
merge upstream v3.2.4 with v3.1.9-parabola10
Diffstat (limited to 'src/modules/services-openrc/services-openrc.conf')
-rw-r--r-- | src/modules/services-openrc/services-openrc.conf | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/modules/services-openrc/services-openrc.conf b/src/modules/services-openrc/services-openrc.conf new file mode 100644 index 000000000..b8255b21a --- /dev/null +++ b/src/modules/services-openrc/services-openrc.conf @@ -0,0 +1,46 @@ +# openrc services module to modify service runlevels via rc-update in the chroot +# +# Services can be added (to any runlevel, or multiple runlevels) or deleted. +# Handle del with care and only use it if absolutely necessary. +# +# if a service is listed in the conf but is not present/detected on the target system, +# or a runlevel does not exist, it will be ignored and skipped; a warning is logged. +# +--- +# initdDir: holds the openrc service directory location +initdDir: /etc/init.d + +# runlevelsDir: holds the runlevels directory location +runlevelsDir: /etc/runlevels + +# services: a list of entries to **enable** +# disable: a list of entries to **disable** +# +# Each entry has three fields: +# - name: the service name +# - (optional) runlevel: can hold any runlevel present on the target +# system; if no runlevel is provided, "default" is assumed. +# - (optional) mandatory: if set to true, a failure to modify +# the service will result in installation failure, rather than just +# a warning. The default is false. +# +# an entry may also be a single string, which is interpreted +# as the name field (runlevel "default" is assumed then, and not-mandatory). +# +# # Example services and disable settings: +# # - add foo1 to default, but it must succeed +# # - add foo2 to nonetwork +# # - remove foo3 from default +# # - remove foo4 from default +# services: +# - name: foo1 +# mandatory: true +# - name: foo2 +# runlevel: nonetwork +# disable: +# - name: foo3 +# runlevel: default +# - foo4 +services: [] +disable: [] + |