diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-07-28 12:28:17 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-07-28 13:37:10 +0900 |
commit | b7f2d0ba2488993f4a68e34d9718039b3c97cb1e (patch) | |
tree | 01b69f932ccce5a6b540a01da544eb846cef2ad6 | |
parent | 6bda23dd6aaba50cf8e3e6024248cf736cc443ca (diff) | |
download | systemd-b7f2d0ba2488993f4a68e34d9718039b3c97cb1e.tar.gz |
units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal-gateway from sysusers
-rw-r--r-- | sysusers.d/systemd-remote.conf.m4 | 1 | ||||
-rw-r--r-- | units/systemd-journal-gatewayd.service.in | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sysusers.d/systemd-remote.conf.m4 b/sysusers.d/systemd-remote.conf.m4 index 0e9d71cdd0..83b362643f 100644 --- a/sysusers.d/systemd-remote.conf.m4 +++ b/sysusers.d/systemd-remote.conf.m4 @@ -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', diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in index 99099967e7..42da3504b8 100644 --- a/units/systemd-journal-gatewayd.service.in +++ b/units/systemd-journal-gatewayd.service.in @@ -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 |