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