summaryrefslogtreecommitdiffstats
path: root/core/modules/system-tweaks
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system-tweaks')
-rw-r--r--core/modules/system-tweaks/data/etc/systemd/system.conf.d/10-enable-watchdog.conf3
-rw-r--r--core/modules/system-tweaks/data/etc/systemd/system/kexec.target.d/00-force-reboot.conf3
-rw-r--r--core/modules/system-tweaks/data/etc/systemd/system/poweroff.target.d/00-force-reboot.conf3
-rw-r--r--core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf3
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