21189: On usage error, exit 64 and do not auto-restart.
[arvados.git] / cmd / arvados-server / crunch-dispatch-slurm.service
index 51b4e58c35b77ce1f391be6cea43f46d4961cd07..53b0157807dd062ea9a97497a5addf2ac506a568 100644 (file)
@@ -19,6 +19,7 @@ ExecStart=/usr/bin/crunch-dispatch-slurm
 LimitNOFILE=65536
 Restart=always
 RestartSec=1
+RestartPreventExitStatus=64
 
 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
 StartLimitInterval=0