21700: Install Bundler system-wide in Rails postinst
[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 # Set a reasonable default for the open file limit
21 LimitNOFILE=65536
22 Restart=always
23 RestartSec=1
24 RestartPreventExitStatus=2
25
26 [Install]
27 WantedBy=multi-user.target