summaryrefslogtreecommitdiff
path: root/units/systemd-journal-gatewayd.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-07-28 12:28:17 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-07-28 13:37:10 +0900
commitb7f2d0ba2488993f4a68e34d9718039b3c97cb1e (patch)
tree01b69f932ccce5a6b540a01da544eb846cef2ad6 /units/systemd-journal-gatewayd.service.in
parent6bda23dd6aaba50cf8e3e6024248cf736cc443ca (diff)
downloadsystemd-b7f2d0ba2488993f4a68e34d9718039b3c97cb1e.tar.gz
units,sysusers: use DynamicUser= for journal-gatewayd and drop user systemd-journal-gateway from sysusers
Diffstat (limited to 'units/systemd-journal-gatewayd.service.in')
-rw-r--r--units/systemd-journal-gatewayd.service.in1
1 files changed, 1 insertions, 0 deletions
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