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
/
keep-balance.service
diff --git
a/cmd/arvados-server/keep-balance.service
b/cmd/arvados-server/keep-balance.service
index 6b16b2cfab709d93c028b0f3343a709057dd5b10..f282f0a65021ad78e7f628ee3d94fef976231836 100644
(file)
--- a/
cmd/arvados-server/keep-balance.service
+++ b/
cmd/arvados-server/keep-balance.service
@@
-14,13
+14,13
@@
StartLimitIntervalSec=0
[Service]
Type=notify
EnvironmentFile=-/etc/arvados/environment
[Service]
Type=notify
EnvironmentFile=-/etc/arvados/environment
-ExecStart=/usr/bin/keep-balance
-commit-pulls -commit-trash
+ExecStart=/usr/bin/keep-balance
# Set a reasonable default for the open file limit
LimitNOFILE=65536
Restart=always
RestartSec=10s
Nice=19
# Set a reasonable default for the open file limit
LimitNOFILE=65536
Restart=always
RestartSec=10s
Nice=19
-RestartPreventExitStatus=
64
+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