summaryrefslogtreecommitdiff
path: root/data/session.conf.in
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2020-08-28 13:17:44 +0200
committerRay Strode <halfline@gmail.com>2020-08-31 13:20:25 +0000
commitcbd156524587fc27e5ad594c223be03a3e257590 (patch)
tree051bb12db1f4aaf6972252058d10c4bb008161b1 /data/session.conf.in
parent663612fca721e1ecdfd3c43cd3f484173fa14c80 (diff)
downloadgdm-cbd156524587fc27e5ad594c223be03a3e257590.tar.gz
session: Leave to meson the duty of keeping the lists in sync
Don't leave to humans what machines can do, the gnome-login.session list is filled with an hard-to-maintain single-line semicolon separated list of components, that then are repeated in the gnome systemd session.conf. And these are meant to be kept in sync. Meson can help us in this, so let's just keep a single list in meson and use it to generate the various formats we need.
Diffstat (limited to 'data/session.conf.in')
-rw-r--r--data/session.conf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/session.conf.in b/data/session.conf.in
new file mode 100644
index 00000000..7bfa3652
--- /dev/null
+++ b/data/session.conf.in
@@ -0,0 +1,4 @@
+[Unit]
+@wants_required_components@
+
+Requires=@requires_component@.target