1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Added 'KeepAlive' section to restart automatically as NbzDrone was crashing on my machine from time to time -- bug report pending.

Jason Harley 2015-02-07 16:20:03 -05:00
parent f793575b04
commit 80f124bec6

@ -4,20 +4,25 @@ Create a plist with these contents, changing the path to NzbDrone.exe as require
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>nzbdrone.job</string>
<key>ProgramArguments</key>
<array>
<string>mono</string>
<string>--debug</string>
<string>/Applications/Sonarr/Contents/MacOS/NzbDrone.exe</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>AbandonProcessGroup</key>
<true/>
</dict>
<dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false />
</dict>
<key>Label</key>
<string>nzbdrone.job</string>
<key>ProgramArguments</key>
<array>
<string>mono</string>
<string>--debug</string>
<string>/Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe</string>
</array>
<key>RunAtLoad</key>
<true />
<key>AbandonProcessGroup</key>
<true />
</dict>
</plist>
```