gala/data/gala-x11.service.in

29 lines
642 B
SYSTEMD
Raw Normal View History

2021-09-29 21:51:50 +03:00
[Unit]
Description=Gala on X11
# On X11, try to show the fail whale screen
OnFailure=gnome-session-failed.target
OnFailureJobMode=replace
CollectMode=inactive-or-failed
RefuseManualStart=on
RefuseManualStop=on
After=gnome-session-manager.target
Requisite=gnome-session-initialized.target
PartOf=gnome-session-initialized.target
Before=gnome-session-initialized.target
# Limit startup frequency more than the default
StartLimitIntervalSec=15s
StartLimitBurst=3
[Service]
Type=notify
ExecStart=@bindir@/gala
Restart=always
# Do not wait before restarting
RestartSec=0ms
# Kill any stubborn child processes after this long
TimeoutStopSec=5