projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21189: Revert exit code 64 to 2 for invalid command line argument.
[arvados.git]
/
cmd
/
arvados-server
/
arvados-ws.service
diff --git
a/cmd/arvados-server/arvados-ws.service
b/cmd/arvados-server/arvados-ws.service
index aebc56a79f333b19f061f5f0aadce793e799529c..2e884495998280936a4dc4375bcac6d9d26006ae 100644
(file)
--- a/
cmd/arvados-server/arvados-ws.service
+++ b/
cmd/arvados-server/arvados-ws.service
@@
-8,9
+8,6
@@
Documentation=https://doc.arvados.org/
After=network.target
AssertPathExists=/etc/arvados/config.yml
After=network.target
AssertPathExists=/etc/arvados/config.yml
-# systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
-StartLimitInterval=0
-
# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
StartLimitIntervalSec=0
# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
StartLimitIntervalSec=0
@@
-21,6
+18,7
@@
ExecStart=/usr/bin/arvados-ws
LimitNOFILE=65536
Restart=always
RestartSec=1
LimitNOFILE=65536
Restart=always
RestartSec=1
+RestartPreventExitStatus=2
# systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
StartLimitInterval=0
# systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
StartLimitInterval=0