X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a5445a2ae553b0723d8579462bcb48855f71a17c..d0414ca727006b821b10b25d3920dc0f66400356:/services/keep-balance/keep-balance.service diff --git a/services/keep-balance/keep-balance.service b/services/keep-balance/keep-balance.service index 634b44b928..df08b5be7f 100644 --- a/services/keep-balance/keep-balance.service +++ b/services/keep-balance/keep-balance.service @@ -1,11 +1,20 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + [Unit] Description=Arvados Keep Balance Documentation=https://doc.arvados.org/ After=network.target +AssertPathExists=/etc/arvados/keep-balance/keep-balance.yml +# systemd<230 +StartLimitInterval=0 +# systemd>=230 +StartLimitIntervalSec=0 [Service] Type=simple -ExecStart=/usr/bin/keep-balance -config /etc/arvados/keep-balance/keep-balance.yml -commit-pulls -commit-trash +ExecStart=/usr/bin/keep-balance -commit-pulls -commit-trash Restart=always RestartSec=10s