chiark / gitweb /
core: explain why failing to set up the crash handler is not a real problem
[elogind.git] / units / systemd-journal-gatewayd.service.in
index c3b5c725bfd2987ef342cc2139e7acfe4f50de25..987220e554208dbf6a0a2eaa4b06d6453a7f8899 100644 (file)
@@ -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