diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:41:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:41:01 +0000 |
commit | cc02f613f361981a338db8916e7516e5001253c0 (patch) | |
tree | 2a83d7350ec7b2877249a1588891d718caf56c06 /data/gnome-session-failed.service.in | |
parent | Initial commit. (diff) | |
download | gnome-session-cc02f613f361981a338db8916e7516e5001253c0.tar.xz gnome-session-cc02f613f361981a338db8916e7516e5001253c0.zip |
Adding upstream version 3.38.0.upstream/3.38.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data/gnome-session-failed.service.in')
-rw-r--r-- | data/gnome-session-failed.service.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/gnome-session-failed.service.in b/data/gnome-session-failed.service.in new file mode 100644 index 0000000..4e22ab7 --- /dev/null +++ b/data/gnome-session-failed.service.in @@ -0,0 +1,19 @@ +[Unit] +Description=GNOME Session Failed lockdown screen (user) +OnFailure=gnome-session-shutdown.target +OnFailureJobMode=replace-irreversibly +CollectMode=inactive-or-failed + +PartOf=gnome-session-failed.target + +# We could do this, but it requires an intermediate target for OnFailure +# handling, so gnome-session-failed checks RUNNING_UNDER_GDM itself +#Conflicts=gnome-session@gnome-login.target +# or in the case of GDM and then not passing --allow-logout +#Requisite=gnome-session@gnome-login.target + +[Service] +Type=simple +ExecStart=@libexecdir@/gnome-session-failed --allow-logout +# The fail whale doesn't trigger a shutdown itself, so do it here +ExecStopPost=-@libexecdir@/gnome-session-ctl --shutdown |