attempt restart every 15 mins for MacOS #270
Replies: 6 comments
-
Thanks for confirming that this works on macOS. I'll push an update to the macOS script shortly, and include it in the next release. As to why it wasn't already included, it was probably either an oversight on my part, or perhaps I couldn't ascertain whether the version of Bash in use in macOS at the time actually supported pgrep. The trouble is I don't have access to a macOS machine, and it certainly used to be the case that the macOS Bash version was well behind the Linux version so I've always been dependent on third parties to test any script updates on macOS. |
Beta Was this translation helpful? Give feedback.
-
Great, thank you. Can I make a suggestion though? Instead of returning 1, return 0. Otherwise
|
Beta Was this translation helpful? Give feedback.
-
Your wish is my cooperation! |
Beta Was this translation helpful? Give feedback.
-
Update pushed |
Beta Was this translation helpful? Give feedback.
-
Awesome! If you like I'll create a new section in the user guide on scheduled running with MacOS, with an example launchd config file |
Beta Was this translation helpful? Give feedback.
-
Thank you for the offer. That would be very helpful. |
Beta Was this translation helpful? Give feedback.
-
The script
gatewaystart.sh
includes these linesI'd like similar functionality in MacOS, but the lines are not in the equivalent script. I just did a quick test, adding the lines into my own installed copy (MacOS 13.7 Ventura). When IBC was already running, it carried on running with no issues. When it wasn't, it started up successfully.
Any reason those lines are not present in
gatewaystartmacos.sh
also?Beta Was this translation helpful? Give feedback.
All reactions