adjust macOS launchctl to auto-restart/keepalive
This commit is contained in:
parent
eafc89bf73
commit
a276f43852
|
@ -55,10 +55,7 @@ func newLaunchdTemplate(installPath, stdoutPath, stderrPath string) *ServiceTemp
|
||||||
<key>StandardErrorPath</key>
|
<key>StandardErrorPath</key>
|
||||||
<string>%s</string>
|
<string>%s</string>
|
||||||
<key>KeepAlive</key>
|
<key>KeepAlive</key>
|
||||||
<dict>
|
<true/>
|
||||||
<key>SuccessfulExit</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>ThrottleInterval</key>
|
<key>ThrottleInterval</key>
|
||||||
<integer>20</integer>
|
<integer>20</integer>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
Loading…
Reference in New Issue