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