18794: Don't restart if new config is unreadable or unchanged.
[arvados.git] / services / crunch-dispatch-slurm / crunch-dispatch-slurm.service
index 9ca1134ed8d5375d7c417af0b3ad684f34efa847..86830f3a7f67364d0a3dd783e598458984bff3a0 100644 (file)
@@ -7,15 +7,14 @@ Description=Arvados Crunch Dispatcher for SLURM
 Documentation=https://doc.arvados.org/
 After=network.target
 
-# 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=notify
 ExecStart=/usr/bin/crunch-dispatch-slurm
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
 Restart=always
 RestartSec=1
 LimitNOFILE=1000000