19368: cherry-pick 19368-webdav-logging-speedup onto 2.4-staging
[arvados.git] / services / arv-git-httpd / arvados-git-httpd.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 [Unit]
6 Description=Arvados git server
7 Documentation=https://doc.arvados.org/
8 After=network.target
9
10 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
11 StartLimitIntervalSec=0
12
13 [Service]
14 Type=notify
15 ExecStart=/usr/bin/arvados-git-httpd
16 Restart=always
17 RestartSec=1
18
19 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
20 StartLimitInterval=0
21
22 [Install]
23 WantedBy=multi-user.target