X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9171d310942ea3c8e3bed3e21a1c2d0604e93ad6..dc16046dbfdca4a9c0d94971730d220b27e80620:/cmd/arvados-server/keep-balance.service diff --git a/cmd/arvados-server/keep-balance.service b/cmd/arvados-server/keep-balance.service index 1c5808288b..f282f0a650 100644 --- a/cmd/arvados-server/keep-balance.service +++ b/cmd/arvados-server/keep-balance.service @@ -14,12 +14,13 @@ StartLimitIntervalSec=0 [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 +RestartPreventExitStatus=2 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section StartLimitInterval=0