summaryrefslogtreecommitdiff
path: root/units/systemd-journal-gatewayd.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-05 19:15:31 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-05 19:15:31 +0100
commit37495eede95d3212b797c8459d7ed6258fb23c6a (patch)
tree1bd1c7587695abcac889d9131a0bb4d2bd45c251 /units/systemd-journal-gatewayd.service.in
parent37c0e8f35e92190a22b2ac0fbb23bf396121e84a (diff)
journal: make gatewayd run under its own user ID
Diffstat (limited to 'units/systemd-journal-gatewayd.service.in')
-rw-r--r--units/systemd-journal-gatewayd.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in
index c3b5c725bf..a01ce8da45 100644
--- a/units/systemd-journal-gatewayd.service.in
+++ b/units/systemd-journal-gatewayd.service.in
@@ -11,6 +11,9 @@ Requires=systemd-journal-gatewayd.socket
[Service]
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
+User=systemd-journal-gateway
+Group=systemd-journal-gateway
+SupplementaryGroups=systemd-journal
[Install]
Also=systemd-journal-gatewayd.socket