Add 'sdk/java-v2/' from commit '55f103e336ca9fb8bf1720d2ef4ee8dd4e221118'
[arvados.git] / services / keep-balance / keep-balance.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 [Unit]
6 Description=Arvados Keep Balance
7 Documentation=https://doc.arvados.org/
8 After=network.target
9 AssertPathExists=/etc/arvados/keep-balance/keep-balance.yml
10
11 # systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
12 StartLimitInterval=0
13
14 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
15 StartLimitIntervalSec=0
16
17 [Service]
18 Type=simple
19 ExecStart=/usr/bin/keep-balance -commit-pulls -commit-trash
20 Restart=always
21 RestartSec=10s
22 Nice=19
23
24 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
25 StartLimitInterval=0
26
27 [Install]
28 WantedBy=multi-user.target