Skip to content

Instantly share code, notes, and snippets.

@wahlmanj
Last active November 18, 2024 18:30
Show Gist options
  • Save wahlmanj/6557631 to your computer and use it in GitHub Desktop.
Save wahlmanj/6557631 to your computer and use it in GitHub Desktop.
Plex Media center startup plist for use with launchctl
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.plex.pms</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/PMS.app/Contents/MacOS/PMS</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>dubz</string>
<key>WorkingDirectory</key>
<string>/Applications</string>
<key>ServiceDescription</key>
<string>PMS</string>
</dict>
</plist>
@walksonair
Copy link

Have had to move this plist into /Library/LaunchAgents as it wouldn't work after restart in left in the LaunchDaemons folder...fyi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment