should restart on failure on mac

Šī revīzija ir iekļauta:
AJ ONeal 2018-06-09 11:26:30 -06:00
vecāks 54e9977c47
revīzija 34cee2dbac
2 mainīti faili ar 7 papildinājumiem un 4 dzēšanām

Parādīt failu

@ -237,7 +237,7 @@ require('fs').readFile(confpath, 'utf8', function (err, text) {
// TODO closeAll other things // TODO closeAll other things
process.nextTick(function () { process.nextTick(function () {
// system daemon will restart the process // system daemon will restart the process
process.exit(); process.exit(22); // use non-success exit code
}); });
}); });
return; return;

Parādīt failu

@ -32,12 +32,15 @@
<key>RunAtLoad</key> <key>RunAtLoad</key>
<true/> <true/>
<key>KeepAlive</key> <key>KeepAlive</key>
<dict> <true/>
<!--dict>
<key>Crashed</key> <key>Crashed</key>
<true/> <true/>
<key>SuccessfulExit</key> <key>NetworkState</key>
<true/> <true/>
</dict> <key>SuccessfulExit</key>
<false/>
</dict-->
<key>SoftResourceLimits</key> <key>SoftResourceLimits</key>
<dict> <dict>