Script to restart HW on server reboot
8-24-20
Operating system: macOS
Customer runs on Mac server, Catalina.


Customer already has a script to automatically restart server if/when it goes down.

Has anyone written a script they can share with me to get HW to be run on such a restart? I assume this needs to start Terminal, then be fed the change directory and application commands.

I'm looking at launchd, but it's hard to work out. I'm also wondering whether I can use Automator.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Tatjana Rozentsova
Hi Paul, BackgroundHALShouldPause is a Boolean function with no arguments. - False: keep working. - True: finish the current item safely and exit the routine. It tells a background HAL routine...
14:12 26 Oct 2026
Bror-Erik Kotiranta
Heya, i dont think this is possible...
11:17 20 Oct 2026