You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify Plex to run as a user service, and loginctl enable-linger plex.
This requires invasive changes to the way Plex works. Every upgrade would be made harder.
Use Polkit
This is the blessed solution, however Debian is stuck on v0.105 from 2012, which doesn't allow scoping systemctl access to specific users, units and actions. Such functionality was only committed in 2015. This would be almost as bad as running as root.
Use sudoers to allow the plex user to start and stop the plexmediaserver.service unit.
Accepted solution for now. Review if Polkit is updated, to >=v0.106.
How can we avoid running as root?
The text was updated successfully, but these errors were encountered: