]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Jul 2017 03:28:17 +0000 (12:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Jul 2017 04:37:10 +0000 (13:37 +0900)
sysusers.d/systemd-remote.conf.m4
units/systemd-journal-gatewayd.service.in

index 0e9d71cdd0a9c1db37997523ca8b20c23016ab41..83b362643f67fdd308c7909212ca1380f6849492 100644 (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',
index 99099967e7384c493666b34edcdeedc85f11723c..42da3504b8ea957e0e82f3c46e854661a305a46e 100644 (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