Watchdog #520
jvde-github
announced in
Announcements
Watchdog
#520
Replies: 1 comment 1 reply
-
|
I added a 5 minute wait for the actual reboot to give time for manual intervention. Note that after 3 restarts in 30 minutes systemd stops retrying and marks the service as failed — it will not attempt to restart again until either manually reset or the system reboot In that period to stop the pending reboot: Reboot script: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
AIS-catcher has long included an option to terminate the program if no messages are received for a specified period of time:
When combined with automatic restarting of the AIS-catcher service, this helps resolve certain issues. For example, if the USB device becomes stale or unresponsive, simply restarting the program can restore normal operation.
With the latest version, an additional option has been introduced: the system can automatically reboot the entire device if AIS-catcher needs to restart three times within 30 minutes.
To enable this feature, run:
To disable it again:
This functionality is also available in the AIS-catcher-control tool.
On the General page, you can configure when AIS-catcher should restart if no messages are received.
On the System page, under System Actions, you can enable the automatic reboot feature.
This page will also show the watchdog status.
Behind the scenes, the script modifies the systemd service configuration to define an escalation path. When the feature is enabled, the configuration will look like this:
Beta Was this translation helpful? Give feedback.
All reactions