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