I take the watchdog script is just a bat/sh script that checks if app x is running, if not launch app x?
Then how will you be notified if your internet goes down for some reason? your whole box crashes? electricity failure? for some reason you're only LP's? when you have remote miners or simply are not at home?
Still, your idea if I have the definition of a watchdog script somewhat right, will get you more uptime already.
~Aeny
Then how will you be notified if your internet goes down for some reason? your whole box crashes? electricity failure? for some reason you're only LP's? when you have remote miners or simply are not at home?
Still, your idea if I have the definition of a watchdog script somewhat right, will get you more uptime already.
~Aeny
yup, it ensures that a program will always be running.
If your internet goes down then there generally isn't much you can do until it goes back up, at which time the program hopefully would auto reconnect, at least I know phoenix does. As far as the box crashing I have it to run the watchdog on boot so the program will run right away. Most other issues are beyond your control realistically, a notification would be nice, but generally isn't required. The most common thing I have noticed is the software would crash or something while I was sleeping so a simple bash script fixes that issue.
Really the only thing that a user can do is restart a system if it crashes, and that can be fully automated. Most other issues are beyond their control