units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal-gateway from sysusers

This commit is contained in:
Yu Watanabe 2017-07-28 12:28:17 +09:00
parent 6bda23dd6a
commit b7f2d0ba24
2 changed files with 1 additions and 1 deletions

View File

@ -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',

View File

@ -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