adjust macOS launchctl to auto-restart/keepalive

This commit is contained in:
jared-fox 2019-03-19 15:11:24 +13:00
parent eafc89bf73
commit a276f43852
1 changed files with 1 additions and 4 deletions

View File

@ -55,10 +55,7 @@ func newLaunchdTemplate(installPath, stdoutPath, stderrPath string) *ServiceTemp
<key>StandardErrorPath</key>
<string>%s</string>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<true/>
<key>ThrottleInterval</key>
<integer>20</integer>
</dict>