Skip to content
Snippets Groups Projects

Enabling systemd hardware watchdog support

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Sheogorath

    This small script enables systemd's hardware watchdog support.

    Edited
    systemd-watchdog.sh 194 B
    #!/bin/sh
    
    mkdir -p /etc/systemd/system.conf.d/
    
    cat > /etc/systemd/system.conf.d/50-watchdog.conf <<EOF
    [Manager]
    RuntimeWatchdogSec=10min
    RuntimeWatchdogPreSec=2min
    KExecWatchdogSec=10min
    EOF
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment