summaryrefslogtreecommitdiffstats
path: root/data/gnome-session-manager@.service.in
blob: b06dbeb3f0c66b65743fc0c7187b8535cddf32eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=GNOME Session Manager (session: %i)
RefuseManualStart=yes
RefuseManualStop=yes
OnFailure=gnome-session-shutdown.target
OnFailureJobMode=replace-irreversibly
CollectMode=inactive-or-failed

Requisite=gnome-session-pre.target
After=gnome-session-pre.target

Requires=gnome-session-manager.target
PartOf=gnome-session-manager.target
Before=gnome-session-manager.target

[Service]
Type=notify
ExecStart=@libexecdir@/gnome-session-binary --systemd-service --session=%i
ExecStopPost=-@libexecdir@/gnome-session-ctl --shutdown