From c74cdb5cc34a68c80ca2ea52c7ea93c8125728ad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 Oct 2017 15:05:02 +0200 Subject: [PATCH] units: restore User=systemd-journal-gateway in systemd-journal-gatewayd.service (#7005) After the discussions around #7003 I think we should restore the User=systemd-journal-gateway line for systemd-journal-gatewayd.service, too, so that we continue to use the state user if it exists, and create it as dynamic user only when it does not. Note that undoes part of a change made after 234, i.e. a never released change. --- units/systemd-journal-gatewayd.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in index b24d698c8a3..44caa0e0b2b 100644 --- a/units/systemd-journal-gatewayd.service.in +++ b/units/systemd-journal-gatewayd.service.in @@ -12,6 +12,7 @@ Requires=systemd-journal-gatewayd.socket [Service] ExecStart=@rootlibexecdir@/systemd-journal-gatewayd +User=systemd-journal-gateway SupplementaryGroups=systemd-journal DynamicUser=yes PrivateDevices=yes -- 2.39.2