Merge branch '15928-fs-deadlock'
[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
10 # systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
11 StartLimitInterval=0
12
13 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
14 StartLimitIntervalSec=0
15
16 [Service]
17 Type=simple
18 ExecStart=/usr/bin/keep-balance -commit-pulls -commit-trash
19 Restart=always
20 RestartSec=10s
21 Nice=19
22
23 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
24 StartLimitInterval=0
25
26 [Install]
27 WantedBy=multi-user.target