Skip to content

Auto-restart on crashes #24

Description

@jehanazad

Adding an auto-restart on crashes would be helpful, as many of these systems are remote/unattended and have crashed.

I added the following to radar1 as a test:

  1. Installed watchdog:
    sudo apt update
    sudo apt install watchdog

sudo nano /boot/firmware/config.txt

added:
dtparam=watchdog=on

sudo systemctl enable watchdog
sudo systemctl start watchdog

  1. sudo nano /etc/sysctl.conf

added:
kernel.panic = 10
kernel.panic_on_oops = 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions