From 000136bd1ac5102cd6780928bf5ba4a4756f89a8 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 23 Apr 2015 17:04:01 +0000 Subject: Configure systemd to support user instances This involves: * A workaround to user@.service being shut down prematurely. * Fixing a systemd unit using 'kill' from a path that doesn't necessarily exist. Change-Id: Iacad155da9752313a2e4bbaae34a3e593d6ecc1b --- strata/foundation/systemd.morph | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph index c53cef39..efca734f 100644 --- a/strata/foundation/systemd.morph +++ b/strata/foundation/systemd.morph @@ -1,10 +1,20 @@ name: systemd kind: chunk build-system: autotools +pre-configure-commands: +# systemd prematurely kills the user session. This is a known bug in systemd +# https://bugs.freedesktop.org/show_bug.cgi?id=70593 +- | + cat >> units/user@.service.m4.in <