diff options
author | Benjamin Berg <bberg@redhat.com> | 2019-04-20 00:39:15 +0200 |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2019-08-05 21:47:38 +0000 |
commit | 50eccb08910419ca8a0f085bd547b38203ab4492 (patch) | |
tree | 420c60931127d985a2c59404f788d726a80f95fa /meson_options.txt | |
parent | 65253003cd54b066e1d0c8c89a4b7ee6225555f1 (diff) | |
download | gnome-settings-daemon-50eccb08910419ca8a0f085bd547b38203ab4492.tar.gz |
plugins: Add systemd user service files for all the plugins
Using the facility added in the previous commit, we can add systemd user
service files for all plugins and know when they have started up.
This is roughly based on the work previously done by Iain Lane
<iain@orangesquash.org.uk> and Bastien Nocera hadess@hadess.net>.
For each g-s-d process we have a service and a target file. This
separation only exists to contain dependency failures which would cause
an OnFailure action to trigger and is needed so that we can use
OnFailure for the gnome-session fail-whale
(gnome-session-failed.target).
In general, the approach taken is that we start g-s-d processes after
gnome-session-initialized.target and before gnome-session.target.
We want to be able to selectively start the services only when one or
more dependencies are there, or even mask out services under some
conditions. The approach taken is the following:
* To mask a service, use a Conflicts entry. This is e.g. used to not
start certain services in GDM using
Conflicts=gnome-session@gnome-login.target
* To depend on multiple targets to be up and running to start, we set
each of these targets in Requisite/After/PartOf/WantedBy. We always
do this for gnome-session-initialized.target but this method is
extensible to any number of further targets (e.g. bluetooth.target)
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 7da7421a..542c3b28 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,5 +1,6 @@ option('nssdb_dir', type: 'string', value: '', description: 'Absolute path to the system NSS database directory') option('udev_dir', type: 'string', value: '', description: 'Absolute path of the udev base directory') +option('systemd', type: 'boolean', value: true, description: 'Enable systemd integration') option('alsa', type: 'boolean', value: true, description: 'build with ALSA support (not optional on Linux platforms)') option('gudev', type: 'boolean', value: true, description: 'build with gudev device support (not optional on Linux platforms)') |