mirror of
https://github.com/systemd/systemd
synced 2024-10-02 22:37:25 +00:00
units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal-gateway from sysusers
This commit is contained in:
parent
6bda23dd6a
commit
b7f2d0ba24
|
@ -6,7 +6,6 @@
|
|||
# (at your option) any later version.
|
||||
|
||||
m4_ifdef(`HAVE_MICROHTTPD',
|
||||
u systemd-journal-gateway - "systemd Journal Gateway"
|
||||
u systemd-journal-remote - "systemd Journal Remote"
|
||||
)m4_dnl
|
||||
m4_ifdef(`HAVE_LIBCURL',
|
||||
|
|
|
@ -15,6 +15,7 @@ ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
|||
User=systemd-journal-gateway
|
||||
Group=systemd-journal-gateway
|
||||
SupplementaryGroups=systemd-journal
|
||||
DynamicUser=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
PrivateNetwork=yes
|
||||
|
|
Loading…
Reference in a new issue