2018-06-26 10:35:00 +02:00
|
|
|
# Systemd services manipulation.
|
|
|
|
#
|
|
|
|
# This module can enable services and targets for systemd
|
|
|
|
# (if packaging doesn't already do that). It can calso
|
|
|
|
# disable services (but not targets).
|
|
|
|
#
|
|
|
|
# First, services are enabled; then targets; then services
|
|
|
|
# are disabled -- this order of operations is fixed.
|
2014-08-11 15:13:28 +02:00
|
|
|
---
|
|
|
|
|
2018-06-26 10:35:00 +02:00
|
|
|
# There are three configuration keys for this module:
|
|
|
|
# *services*, *targets* and *disable*. The value of each
|
|
|
|
# key is a list of entries. Each entry has two keys:
|
|
|
|
# - *name* is the (string) name of the service or target that is being
|
2018-06-27 11:14:18 +02:00
|
|
|
# changed. Use quotes. Don't include ".target" or ".service"
|
|
|
|
# in the name.
|
2018-06-26 10:35:00 +02:00
|
|
|
# - *mandatory* is a boolean option, which states whether the change
|
|
|
|
# must be done successfully. If systemd reports an error while changing
|
|
|
|
# a mandatory entry, the installation will fail. When mandatory is false,
|
|
|
|
# errors for that entry (service or target) are ignored.
|
|
|
|
#
|
|
|
|
# Use [] to express an empty list.
|
2014-08-11 15:13:28 +02:00
|
|
|
|
2018-06-26 10:35:00 +02:00
|
|
|
# # This example enables NetworkManager (and fails if it can't),
|
|
|
|
# # disables cups (and ignores failure). Then it enables the
|
|
|
|
# # graphical target (e.g. so that SDDM runs for login), and
|
|
|
|
# # finally disables pacman-init (an ArchLinux-only service).
|
|
|
|
# #
|
2018-06-27 11:14:18 +02:00
|
|
|
# # Enables <name>.service
|
2018-06-26 10:35:00 +02:00
|
|
|
# services:
|
|
|
|
# - name: "NetworkManager"
|
|
|
|
# mandatory: true
|
|
|
|
# - name: "cups"
|
|
|
|
# mandatory: false
|
|
|
|
#
|
2018-06-27 11:14:18 +02:00
|
|
|
# # Enables <name>.target
|
2018-06-26 10:35:00 +02:00
|
|
|
# targets:
|
|
|
|
# - name: "graphical"
|
|
|
|
# mandatory: true
|
|
|
|
#
|
2018-06-27 11:14:18 +02:00
|
|
|
# # Disables <name>.service
|
2018-06-26 10:35:00 +02:00
|
|
|
# disable:
|
|
|
|
# - name: "pacman-init"
|
|
|
|
# mandatory: false
|
2015-08-31 16:52:02 +02:00
|
|
|
|
2018-06-26 10:35:00 +02:00
|
|
|
# By default, no changes are made.
|
|
|
|
services: []
|
|
|
|
targets: []
|
|
|
|
disable: []
|