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