summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-10 04:42:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-10 04:42:22 +0200
commit5682009b2153badf0c3d07baf574ef1b1547a5c5 (patch)
tree84ef28087bbedab1ebdd3f8ad625750e64a24cdf
parent41e450596adebf7f74e4a7e66c1d0466ea4e323c (diff)
units: pull in shutdown.target and umount.target when entering emergency mode
-rw-r--r--units/emergency.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service
index 8745d101c7..0014c263b4 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -10,6 +10,8 @@
[Unit]
Description=Emergency Shell
DefaultDependencies=no
+Wants=shutdown.target umount.target
+After=shutdown.target umount.target
[Service]
ExecStart=/bin/sh