mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal-gateway from sysusers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user