summaryrefslogtreecommitdiff
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
parent3a13442bbf72e7ebdd0b4d60c2922ea7c5cc9496 (diff)
downloadsystemd-d06e8fbce35c2b52ee1d09af4888876d5f2d7ae4.tar.gz
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 3a852b68a6..7bb41d75e5 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