Working on getting the new Linux install all configured. I decided before I get too far in, I want to get the Plex Media Server to start on load like the Logitech Media Server does. Running an unRaid version of Plex, the rc.plexmediaserver runner doesn't because of some missing files that I should really look into fixing but to get it running at reboot now, I added it to a cron tab.
The Logitech Media Server was easy enough to figure out...
@reboot /home/john/slimserver/logitechmediaserver-7.9.3-1584993250/slimserver.pl --daemon
I just have to remember to update the version if I update with a Logitech Media Server nightly build.
To start Plex, I need to run a start.sh
file. Googling around a lot of people said add it like I am doing here but it didn't work.
@reboot /usr/local/plexmediaserver/start.sh
I stumbled across another page that mentioned one other change that needs to be made that I hadn't seen until this page. I would have linked to it but I closed it before thinking of trying it with the crontab update above. The other change is to update the last line of start.sh
.
./Plex\ Media\ Server
should be updated to $SCRIPTPATH/Plex\ Media\ Server
.
Reboot and you should see your Plex Media Server start up automatically. Nice! Now to set up Minecraft to start on reboot too.