2017-11-10 13:52:23 +00:00
|
|
|
[Unit]
|
2017-11-11 00:45:19 +00:00
|
|
|
Description=ClickHouse Server (analytic DBMS for big data)
|
2017-11-10 13:52:23 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=clickhouse
|
|
|
|
Group=clickhouse
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
2019-05-06 12:12:18 +00:00
|
|
|
RuntimeDirectory=clickhouse-server
|
|
|
|
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=/run/clickhouse-server/clickhouse-server.pid
|
2017-11-10 13:52:23 +00:00
|
|
|
LimitCORE=infinity
|
|
|
|
LimitNOFILE=500000
|
2018-11-14 01:11:13 +00:00
|
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK
|
2017-11-10 13:52:23 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|