Obviously you can change that if you need to. All it cares about is the path to the app binary, which will be /Applications/Plex Media Server.app/Contents/MacOS/Plex Media Server for 99.9% of users. I really cant think of any reason why it would matter if you have a M1 system with a non-native PMS app. My revised file can be downloaded from Īll it really does is specify the path to the app binary, sets 2 "Keep Alive" criteria, and tells it to run at load and restart any time a new disk is mounted. But basically just dropping it into the folder is not enough launchctl has to be TOLD to LOAD that particular plist, otherwise it just sits there doing nothing. Anyway, in order to use these you also have to be familiar with the launchctl command, or do what I did, which is get an app that lets you create and modify launchd plists in a friendly interface. I am not any sort of expert on launchd and its various options and it took a bit of trial and error. I actually had to make changes to my original plist because it wasnt working exactly the way I wanted it to. I believe since the Disabled flag is set to "No" it should just begin running immediately. It does this by polling the Plex status any time a volume is mounted or unmounted or if path to the external drive becomes empty.Īll one needs to do is drop the file into /Library/LaunchDaemons/ folder. So I decided to create a LaunchDaemon that will launch Plex at boot and then keep it running at all times, whether I am logged into my account, logged out, whatever, except if I specifically quit it manually, in which case it stays down until reopened. macOS Server, formerly Mac OS X Server and OS X Server, is a discontinued series of Unix-like server operating systems developed by Apple Inc., based on macOS and later add-on software packages for the latter. (Note: This seems to happen if the hard drive where i keep all my Plex media and the plex data folder suddenly gets unmounted for some reason, which I imagine must just be a flaky USB cable or the fact that the drive is not a very premium one.) With our easy-to-install Plex Media Server software and Plex apps on the devices of your choosing, you can stream your video, music, and photo collections any time, anywhere, to whatever you want. My Plex server has been known to quit abruptly, which I wouldn't necessarily know about until much later if I wanted to watch something or one of my friends was trying to watch something and messaged me that it was down.
0 Comments
Leave a Reply. |