PMSHelper.sh 261 B

12345678910111213
  1. #!/bin/bash
  2. # Wait for the media share to be mounted
  3. if ! ~/bin/video/isMediaMounted; then
  4. sleep 5
  5. exit 1
  6. fi
  7. # Kill previous instances
  8. ~/bin/video/pms/killPMS.sh
  9. # Exec
  10. exec '/Applications/Zach/Media/Plex Media Server.app/Contents/MacOS/Plex Media Server'