summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-25 12:01:09 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-25 12:01:09 +0200
commitc617f5a96d474a93e9cf38fbd97af257a08c40df (patch)
treea190f45e52de96dc70268c5790ba54e52544af46
parent4aa6e7782a1b693a8e4fa1d84c87dd76fe1e536d (diff)
units: stop sleep.target when it has done its job
-rw-r--r--units/sleep.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/sleep.target b/units/sleep.target
index d7ebd289c8..10c7c8d594 100644
--- a/units/sleep.target
+++ b/units/sleep.target
@@ -10,3 +10,4 @@ Description=Sleep
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
+StopWhenUnneeded=yes