blob: 895ee4379bc8fcbfa552d95f744952e735b1d924 [file] [log] [blame]
Jan Kundrát7ac11342018-06-14 18:56:05 +02001[Unit]
2Description=Pinging the HW watchdog
3Requires=multi-user.target
4After=multi-user.target
5
6[Service]
7Type=oneshot
Jan Kundrát89297822021-01-19 21:48:52 +01008RemainAfterExit=yes
Jan Kundrát7ac11342018-06-14 18:56:05 +02009ExecStartPre=/bin/sh -c '[ "$(/bin/systemctl list-units --failed --all --no-legend --no-pager)" == "" ]'
10ExecStart=/bin/busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager RuntimeWatchdogUSec t 30000000