mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 18:36:34 +00:00
daa99db662
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
18 lines
429 B
Plaintext
18 lines
429 B
Plaintext
[Unit]
|
|
Description=@PROJECT_DESCRIPTION@
|
|
StartLimitIntervalSec=500
|
|
StartLimitBurst=5
|
|
Conflicts=app-@PROJECT_FQDN@.service
|
|
After=graphical-session.target xdg-desktop-autostart.target
|
|
|
|
[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=graphical-session.target
|