Add systemd unit file for arvados-health.
[arvados.git] / services / health / arvados-health.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 [Unit]
6 Description=Arvados healthcheck server
7 Documentation=https://doc.arvados.org/
8 After=network.target
9 AssertPathExists=/etc/arvados/config.yml
10 # systemd<230
11 StartLimitInterval=0
12 # systemd>=230
13 StartLimitIntervalSec=0
14
15 [Service]
16 Type=simple
17 ExecStart=/usr/bin/arvados-health
18 Restart=always
19 RestartSec=1s
20
21 [Install]
22 WantedBy=multi-user.target