cockroach.service 387 Bytes
Newer Older
tomogoma's avatar
tomogoma committed
1
2
3
4
5
[Unit]
Description=Cockroach db auto starter

[Install]
WantedBy=multi-user.target
6
7

[Service]
8
ExecStart=/usr/local/bin/cockroach start --certs-dir=/etc/cockroachdb/certs --store=/var/data/cockroachdb/ --port=26257 --http-port=7005 --logtostderr=ERROR
9
ExecStop=/usr/local/bin/cockroach quit --certs-dir=/etc/cockroachdb/certs
10
11
SyslogIdentifier=cockroachdb
Restart=always
12
LimitNOFILE=35000