summarylogtreecommitdiffstats
path: root/tikv.service
blob: 21b7b8230499623a2251981b931b624106c680a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Distributed transactional key-value database, originally created to complement TiDB
Documentation=https://github.com/tikv/tikv
Requires=pd.service
After=pd.service network.target

[Service]
User=tikv
WorkingDirectory=/var/lib/tikv
LimitNOFILE=1048576
ExecStart=/usr/bin/tikv-server --config=/etc/tikv/tikv.toml
ExecReload=/bin/kill -SIGUSR1 $MAINPID
Restart=on-failure

[Install]
WantedBy=multi-user.target