fix(linux): update systemd service units (#4712)

This commit is contained in:
Conn O'Griofa
2026-02-13 03:43:23 +00:00
committed by GitHub
parent 9ba2757469
commit f442ff81e7
2 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ Description=@PROJECT_DESCRIPTION@
StartLimitIntervalSec=500
StartLimitBurst=5
Conflicts=sunshine.service
After=graphical-session.target xdg-desktop-autostart.target
[Service]
# Avoid starting Sunshine before the desktop is fully initialized.
@@ -13,4 +14,4 @@ Restart=on-failure
RestartSec=5s
[Install]
WantedBy=xdg-desktop-autostart.target
WantedBy=graphical-session.target

View File

@@ -3,6 +3,7 @@ Description=@PROJECT_DESCRIPTION@
StartLimitIntervalSec=500
StartLimitBurst=5
Conflicts=sunshine-kms.service
After=graphical-session.target xdg-desktop-autostart.target xdg-desktop-portal.service
[Service]
# Avoid starting Sunshine before the desktop is fully initialized.
@@ -14,4 +15,4 @@ RestartSec=5s
NoNewPrivileges=true
[Install]
WantedBy=xdg-desktop-autostart.target
WantedBy=graphical-session.target