21189: Replace -commit-X with Balance{Pull,Trash}Limit configs.
[arvados.git] / cmd / arvados-server / keep-balance.service
index 1c5808288b38a4e0a1b5b4706cfa446f6a224841..c603939bcf62bcb5b897caa94f93de7472a100cf 100644 (file)
@@ -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=64
 
 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
 StartLimitInterval=0