mirror of
https://github.com/systemd/systemd.git
synced 2025-09-08 13:44:41 +03:00
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.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
892a035c2e
commit
c74cdb5cc3
@@ -12,6 +12,7 @@ Requires=systemd-journal-gatewayd.socket
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
||||||
|
User=systemd-journal-gateway
|
||||||
SupplementaryGroups=systemd-journal
|
SupplementaryGroups=systemd-journal
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
Reference in New Issue
Block a user