summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/lib
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-11-19 07:07:46 +0000
committerintrigeri <intrigeri@boum.org>2018-11-19 08:29:16 +0000
commitba38aeb71d3379f7d37d453906e8495e84348a5d (patch)
tree78988b793f3d4f32b407a3147b45d0339213d0ba /config/chroot_local-includes/lib
parenteaf91f2e8245fdd07f778a006f8e46253ff45b60 (diff)
Start the udev watchdog for emergency shutdown only after we're ready to return to initramfs.
Without this explicit ordering, we have no guarantee that /run/initramfs has been populated when udev-watchdog-wrapper is triggered and calls "systemctl --force poweroff" to return to the initramfs.
Diffstat (limited to 'config/chroot_local-includes/lib')
-rw-r--r--config/chroot_local-includes/lib/systemd/system/tails-shutdown-on-media-removal.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/lib/systemd/system/tails-shutdown-on-media-removal.service b/config/chroot_local-includes/lib/systemd/system/tails-shutdown-on-media-removal.service
index ac9c96c..d469a1d 100644
--- a/config/chroot_local-includes/lib/systemd/system/tails-shutdown-on-media-removal.service
+++ b/config/chroot_local-includes/lib/systemd/system/tails-shutdown-on-media-removal.service
@@ -1,7 +1,7 @@
[Unit]
Description=Wipe memory on live media removal
Documentation=https://tails.boum.org/contribute/design/memory_erasure/
-After=memlockd.service
+After=memlockd.service initramfs-shutdown.service
[Service]
Type=simple