Commit ee3d0737 authored by Benjamin Berg's avatar Benjamin Berg Committed by Iain Lane

data: Remove gnome-session-stable.timer and related units

The idea was that this is useful for gnome-shell to modify its OnFailure
behaviour. However, the approach has been causing issues with session
shutdown and the workaround is quite complicated.

To simplify matters, the logic has been moved to gnome-shell and further
improved. As such, the gnome-session-stable.timer has lost its purpose
and it is unlikely to be useful for other purposes in the future.

Remove it completely.

See gnome-shell!858 and #43
parent 7baa854e
[Unit]
Description=GNOME Session is stable (running for >2 minutes)
Requisite=gnome-session.target
PartOf=gnome-session.target
[Unit]
Description=GNOME Session is not yet stable (running for <2 minutes)
Requisite=gnome-session.target
PartOf=gnome-session.target
[Timer]
OnActiveSec=120
AccuracySec=5
Unit=gnome-session-stable.target
RemainAfterElapse=no
......@@ -13,6 +13,3 @@ Before=graphical-session.target
# gnome-session.target pulls in graphical-session.target
BindsTo=gnome-session-monitor.service
After=gnome-session-monitor.service
# Pull in timer to mark session as stable (and unstable as long as the timer is active)
Requires=gnome-session-stable.timer
......@@ -127,8 +127,6 @@ if enable_systemd_session
'gnome-session-initialized.target',
'gnome-session-shutdown.target',
'gnome-session-failed.target',
'gnome-session-stable.target',
'gnome-session-stable.timer',
)
install_data(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment