Is it possible to make clickable PMS service commands that are configured to run as either sudo or the plex user? I don't want to edit the sudoers insecurely, and I thought that setting up a script to run as the plex user would be a good solution. Unfortunately, I'm only good enough with Linux so far to be dangerous. I'm hoping to setup clickable scrips to run the following (and anything else useful for the PMS service, that I'm unaware of):
- service plexmediaserver start
- service plexmediaserver stop
- service plexmediaserver restart
- service plexmediaserver status
Eventually, this would make a good collection of "dashboard buttons" for Plex, without having to open a shell directly, or PMS's web app. I realize they're minor steps, but it'd make the system more friendly for the rest of my family to easily troubleshoot, without having to know/learn any linux.