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