11221: Always restart systemd services, even after a few startup failures.
[arvados.git] / services / keep-balance / keep-balance.service
1 [Unit]
2 Description=Arvados Keep Balance
3 Documentation=https://doc.arvados.org/
4 After=network.target
5 AssertPathExists=/etc/arvados/keep-balance/keep-balance.yml
6 # systemd<230
7 StartLimitInterval=0
8 # systemd>=230
9 StartLimitIntervalSec=0
10
11 [Service]
12 Type=simple
13 ExecStart=/usr/bin/keep-balance -commit-pulls -commit-trash
14 Restart=always
15 RestartSec=10s
16
17 [Install]
18 WantedBy=multi-user.target