21700: Install Bundler system-wide in Rails postinst
[arvados.git] / cmd / arvados-server / 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/config.yml
10 StartLimitIntervalSec=0
11
12 [Service]
13 Type=notify
14 EnvironmentFile=-/etc/arvados/environment
15 ExecStart=/usr/bin/keep-balance
16 # Set a reasonable default for the open file limit
17 LimitNOFILE=65536
18 Restart=always
19 RestartSec=10s
20 Nice=19
21 RestartPreventExitStatus=2
22
23 [Install]
24 WantedBy=multi-user.target