17417: Merge branch 'main' into 17417-add-arm64
[arvados.git] / services / health / arvados-health.service
index dac7c3a1949c9793cf0aaa2cbcf6b297d4a5a241..4b8745d1549c6950e14cf74cdbc09edc12f1650d 100644 (file)
@@ -8,15 +8,14 @@ Documentation=https://doc.arvados.org/
 After=network.target
 AssertPathExists=/etc/arvados/config.yml
 
-# systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
-StartLimitInterval=0
-
 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
 StartLimitIntervalSec=0
 
 [Service]
 Type=simple
 ExecStart=/usr/bin/arvados-health
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
 Restart=always
 RestartSec=1