Merge branch '21132-api-resources-fixes'
[arvados.git] / cmd / arvados-server / crunch-dispatch-slurm.service
index 51b4e58c35b77ce1f391be6cea43f46d4961cd07..d2a2fb39d9dca39a3df99f57989ae9d7db1c4fbf 100644 (file)
@@ -19,6 +19,7 @@ ExecStart=/usr/bin/crunch-dispatch-slurm
 LimitNOFILE=65536
 Restart=always
 RestartSec=1
+RestartPreventExitStatus=2
 
 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
 StartLimitInterval=0