mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 23:27:10 +03:00
29 lines
642 B
SYSTEMD
29 lines
642 B
SYSTEMD
[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
|
|
|