summarylogtreecommitdiffstats
path: root/clickhouse-server.service
blob: 11c5bf0b10b2c467a64e8cd1a171a9a0308a0955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=ClickHouse Server (analytic DBMS for big data)
Requires=network-online.target
After=network-online.target

[Service]
Type=notify
User=clickhouse
Group=clickhouse
Restart=always
RestartSec=30
# RuntimeDirectory=clickhouse-server
StateDirectory=clickhouse
LogsDirectory=clickhouse-server
# ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=%t/clickhouse-server/clickhouse-server.pid
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml
LimitNOFILE=262144
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK CAP_SYS_NICE CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target