aboutsummaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-08-02 20:57:56 +0200
committerLennart Poettering <lennart@poettering.net>2018-08-03 10:38:49 +0200
commitd06e8fbce35c2b52ee1d09af4888876d5f2d7ae4 (patch)
treedb0a9db543cac0c8561c09c233718623be064893 /units
parentuser-runtime-dir: downgrade a few log messages to LOG_DEBUG that we ignore (diff)
downloadsystemd-d06e8fbce35c2b52ee1d09af4888876d5f2d7ae4.tar.gz
systemd-d06e8fbce35c2b52ee1d09af4888876d5f2d7ae4.tar.bz2
systemd-d06e8fbce35c2b52ee1d09af4888876d5f2d7ae4.zip
units: make sure user-runtime-dir@.service is Type=oneshot
We order user@.service after it, hence we need to properly know when it finished starting up.
Diffstat (limited to 'units')
-rw-r--r--units/user-runtime-dir@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in
index 3a852b68a..7bb41d75e 100644
--- a/units/user-runtime-dir@.service.in
+++ b/units/user-runtime-dir@.service.in
@@ -15,4 +15,5 @@ StopWhenUnneeded=yes
[Service]
ExecStart=@rootlibexecdir@/systemd-user-runtime-dir start %i
ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
+Type=oneshot
RemainAfterExit=true