]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.special.xml
units: add graphical-session.target user unit (#3678)
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 25 Jul 2016 20:01:35 +0000 (22:01 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2016 20:01:35 +0000 (22:01 +0200)
commitc92fcc4f4375b0aebc5919311bbf703138b21918
tree98753ef1cd6a964d43706751b832bc750636678c
parent38b383d9fe0f5c4e987c1e01136ae6073076fee3
units: add graphical-session.target user unit (#3678)

This unit acts as a dynamic "alias" target for any concrete graphical user
session like gnome-session.target; these should declare
"BindsTo=graphical-session.target" so that both targets stop and start at the
same time.

This allows services that run in a particular graphical user session (e. g.
gnome-settings-daemon.service) to declare "PartOf=graphical-session.target"
without having to know or get updated for all/new session types. This will
ensure that stopping the graphical session will stop all services which are
associated to it.
Makefile.am
man/systemd.special.xml
units/user/graphical-session.target [new file with mode: 0644]