19070: Still trying to fix test_with_arvbox
[arvados.git] / cmd / arvados-server / arvados-controller.service
index e85707473feefead0e51a50faace4bd947f5069f..420cbb035a7e7177f84ef7a9ca07117d70e37e5f 100644 (file)
@@ -8,9 +8,6 @@ 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
 
@@ -18,6 +15,8 @@ StartLimitIntervalSec=0
 Type=notify
 EnvironmentFile=-/etc/arvados/environment
 ExecStart=/usr/bin/arvados-controller
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
 Restart=always
 RestartSec=1