Merge branch '21834-stdout-timestamps'
[arvados.git] / cmd / arvados-server / keepstore.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 Storage Daemon
7 Documentation=https://doc.arvados.org/
8 After=network.target
9 AssertPathExists=/etc/arvados/config.yml
10 StartLimitIntervalSec=0
11
12 [Service]
13 # trigger Go garbage collection when the ratio of freshly allocated data to live data
14 # remaining after the previous collection reaches 10% rather than the default 100%, so
15 # that Keepstore's memory use is tightly coupled to the number of buffers it is
16 # configured to use.
17 Environment=GOGC=10
18 Type=notify
19 ExecStart=/usr/bin/keepstore
20 Restart=always
21 RestartSec=1
22 RestartPreventExitStatus=2
23
24 [Install]
25 WantedBy=multi-user.target