b677e7
From 780d1d9fa7ccc036e6e237221ac51ed69453c8c6 Mon Sep 17 00:00:00 2001
b677e7
From: Lennart Poettering <lennart@poettering.net>
b677e7
Date: Thu, 2 Aug 2018 20:57:56 +0200
b677e7
Subject: [PATCH] units: make sure user-runtime-dir@.service is Type=oneshot
b677e7
b677e7
We order user@.service after it, hence we need to properly know when it
b677e7
finished starting up.
b677e7
b677e7
(cherry picked from commit d06e8fbce35c2b52ee1d09af4888876d5f2d7ae4)
b677e7
b677e7
Related: #1946453
b677e7
---
b677e7
 units/user-runtime-dir@.service.in | 1 +
b677e7
 1 file changed, 1 insertion(+)
b677e7
b677e7
diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in
b677e7
index 31354c9bf2..bfd6488d61 100644
b677e7
--- a/units/user-runtime-dir@.service.in
b677e7
+++ b/units/user-runtime-dir@.service.in
b677e7
@@ -15,5 +15,6 @@ StopWhenUnneeded=yes
b677e7
 [Service]
b677e7
 ExecStart=@rootlibexecdir@/systemd-user-runtime-dir start %i
b677e7
 ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
b677e7
+Type=oneshot
b677e7
 RemainAfterExit=true
b677e7
 Slice=user-%i.slice