]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: restore User=systemd-journal-gateway in systemd-journal-gatewayd.service ...
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Oct 2017 13:05:02 +0000 (15:05 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Oct 2017 13:05:02 +0000 (15:05 +0200)
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

index b24d698c8a373c94db6dc35d0838f76c28a6ad1b..44caa0e0b2b2ff8c61711b1eccbc42eb3f75a9d6 100644 (file)
@@ -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