diff options
author | Xuanwo | 2018-10-23 13:45:36 +0800 |
---|---|---|
committer | Xuanwo | 2018-10-23 13:45:36 +0800 |
commit | 44490684a86f2e6a1023d1703fe613a2eda065d9 (patch) | |
tree | c0a7b69ac307256605b798f1f65b179a240e405f /tikv.service | |
download | aur-44490684a86f2e6a1023d1703fe613a2eda065d9.tar.gz |
Add tikv
Diffstat (limited to 'tikv.service')
-rw-r--r-- | tikv.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tikv.service b/tikv.service new file mode 100644 index 000000000000..21b7b8230499 --- /dev/null +++ b/tikv.service @@ -0,0 +1,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 |