mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-16 21:39:52 +00:00
16 lines
336 B
SYSTEMD
16 lines
336 B
SYSTEMD
[Unit]
|
|
Description=@PROJECT_DESCRIPTION@
|
|
StartLimitIntervalSec=500
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
# Avoid starting Sunshine before the desktop is fully initialized.
|
|
ExecStartPre=/bin/sleep 5
|
|
@SUNSHINE_SERVICE_START_COMMAND@
|
|
@SUNSHINE_SERVICE_STOP_COMMAND@
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=xdg-desktop-autostart.target
|