summaryrefslogtreecommitdiff
path: root/src/modules/services-openrc/services-openrc.conf
blob: e631b8c99cae4c6cc0e47f1bd81074d1be2ef4ed (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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:
  - name: "alsasound"
    mandatory: false
  - name: "dbus"
    mandatory: true
  - name: "elogind"
    mandatory: false
  - name: "haveged"
    mandatory: false
  - name: "NetworkManager"
    mandatory: false

lxde-services:
  - name: "lxdm"
    mandatory: true

mate-services:
  - name: "lightdm"
    mandatory: true

disable:
  - name: "pacman-init"
    mandatory: false