X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journal-gatewayd.service.in;h=987220e554208dbf6a0a2eaa4b06d6453a7f8899;hp=c3b5c725bfd2987ef342cc2139e7acfe4f50de25;hb=66f2ff06ca4ee5ea686b884e2923a31832ad8fe4;hpb=7b17a7d72f5ba5ad838b19803534c56a46f3bce9 diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in index c3b5c725b..987220e55 100644 --- a/units/systemd-journal-gatewayd.service.in +++ b/units/systemd-journal-gatewayd.service.in @@ -11,6 +11,18 @@ Requires=systemd-journal-gatewayd.socket [Service] ExecStart=@rootlibexecdir@/systemd-journal-gatewayd +User=systemd-journal-gateway +Group=systemd-journal-gateway +SupplementaryGroups=systemd-journal +PrivateTmp=yes +PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=full +ProtectHome=yes + +# If there are many split upjournal files we need a lot of fds to +# access them all and combine +LimitNOFILE=16384 [Install] Also=systemd-journal-gatewayd.socket