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