summaryrefslogtreecommitdiffstats
path: root/core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-24 12:30:51 +0100
committerSimon Rettberg2023-01-24 12:30:51 +0100
commit929fc1137e3a5508610956988cdab5310caef12b (patch)
tree785a71bfb2b789913f248ca2306945310eff737d /core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf
parent[qemu-src] --disable-werror (diff)
downloadmltk-929fc1137e3a5508610956988cdab5310caef12b.tar.gz
mltk-929fc1137e3a5508610956988cdab5310caef12b.tar.xz
mltk-929fc1137e3a5508610956988cdab5310caef12b.zip
[system-tweaks] Add timeouts to shutdown/reboot
Diffstat (limited to 'core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf')
-rw-r--r--core/modules/system-tweaks/data/etc/systemd/system/reboot.target.d/00-force-reboot.conf3
1 files changed, 3 insertions, 0 deletions
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