fix(linux): update systemd service units#4712
fix(linux): update systemd service units#4712ReenigneArcher merged 1 commit intoLizardByte:masterfrom
Conversation
* xdg-desktop-autostart.target is not used by vanilla GNOME sessions, so use graphical-session.target as the service enablement dependency. * Specify graphical-session.target, xdg-desktop-autostart.target and xdg-desktop-portal.service (unprivileged) to run before Sunshine, but leave as weak ordering hints by only specifying via the After unit fields.
0fec273 to
b15529e
Compare
|
|
A change that could be made in the case of the unprivileged service is to add: This would set up a weak dependency, so if the service exists on the system but was not scheduled to start, it would be started. XDG Desktop Portal needs this, but the unprivileged user service can also be used for x11 and wlroots capture, so I don't think we should assume it to be a requirement. Users may have deliberately disabled this service and may not appreciate Sunshine starting it, so I don't recommend setting this. |
Bundle ReportBundle size has no change ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4712 +/- ##
==========================================
- Coverage 15.53% 15.52% -0.01%
==========================================
Files 97 97
Lines 20476 20476
Branches 9400 9400
==========================================
- Hits 3181 3179 -2
+ Misses 16065 13660 -2405
- Partials 1230 3637 +2407
Flags with carried forward coverage won't be shown. Click here to find out more. |



Description
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage