diff options
4 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/system-tweaks/data/etc/systemd/system.conf.d/10-enable-watchdog.conf b/core/modules/system-tweaks/data/etc/systemd/system.conf.d/10-enable-watchdog.conf new file mode 100644 index 00000000..34dd37dd --- /dev/null +++ b/core/modules/system-tweaks/data/etc/systemd/system.conf.d/10-enable-watchdog.conf @@ -0,0 +1,3 @@ +[Manager] +RuntimeWatchdogSec=180 +RebootWatchdogSec=30 diff --git a/core/modules/system-tweaks/data/etc/systemd/system/kexec.target.d/00-force-reboot.conf b/core/modules/system-tweaks/data/etc/systemd/system/kexec.target.d/00-force-reboot.conf new file mode 100644 index 00000000..3c2f6749 --- /dev/null +++ b/core/modules/system-tweaks/data/etc/systemd/system/kexec.target.d/00-force-reboot.conf @@ -0,0 +1,3 @@ +[Unit] +JobTimeoutSec=30 +JobTimeoutAction=reboot-immediate diff --git a/core/modules/system-tweaks/data/etc/systemd/system/poweroff.target.d/00-force-reboot.conf b/core/modules/system-tweaks/data/etc/systemd/system/poweroff.target.d/00-force-reboot.conf new file mode 100644 index 00000000..ab9fb6e3 --- /dev/null +++ b/core/modules/system-tweaks/data/etc/systemd/system/poweroff.target.d/00-force-reboot.conf @@ -0,0 +1,3 @@ +[Unit] +JobTimeoutSec=30 +JobTimeoutAction=poweroff-immediate diff --git a/core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf b/core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf new file mode 100644 index 00000000..3c2f6749 --- /dev/null +++ b/core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf @@ -0,0 +1,3 @@ +[Unit] +JobTimeoutSec=30 +JobTimeoutAction=reboot-immediate |