chiark / gitweb /
Add fsckd service and socket, retarget systemd-fsck
[elogind.git] / units / systemd-journal-gatewayd.service.in
index a01ce8da45372198d4e96d6a84c5e42815fa627d..987220e554208dbf6a0a2eaa4b06d6453a7f8899 100644 (file)
@@ -14,6 +14,15 @@ 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