diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-07-25 22:01:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 22:01:35 +0200 |
commit | c92fcc4f4375b0aebc5919311bbf703138b21918 (patch) | |
tree | 98753ef1cd6a964d43706751b832bc750636678c /Makefile.am | |
parent | 38b383d9fe0f5c4e987c1e01136ae6073076fee3 (diff) |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0c27f81986..c1e1c63634 100644 --- a/Makefile.am +++ b/Makefile.am @@ -573,7 +573,8 @@ endif dist_userunit_DATA = \ units/user/basic.target \ units/user/default.target \ - units/user/exit.target + units/user/exit.target \ + units/user/graphical-session.target nodist_userunit_DATA = \ units/user/systemd-exit.service |