summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-05 15:05:02 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-05 15:05:02 +0200
commitc74cdb5cc34a68c80ca2ea52c7ea93c8125728ad (patch)
tree95fdec6371243f1f7d5e9c330e728a753c5f77a8 /units
parent892a035c2eb8ae8c1e8bd442cd37eed2db03741a (diff)
downloadsystemd-c74cdb5cc34a68c80ca2ea52c7ea93c8125728ad.tar.gz
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.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-journal-gatewayd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in
index b24d698c8a..44caa0e0b2 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