mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 05:03:20 +00:00
37a9af5a68
* CLICKHOUSE-4109 mlock clickhouse * wip * Fix * wip * fix * fix * better place * wip * clean * tidy * fix
20 lines
532 B
Desktop File
20 lines
532 B
Desktop File
[Unit]
|
|
Description=ClickHouse Server (analytic DBMS for big data)
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=clickhouse
|
|
Group=clickhouse
|
|
PermissionsStartOnly=true
|
|
Restart=always
|
|
RestartSec=30
|
|
ExecStartPre=-/usr/bin/chown clickhouse:clickhouse -R /etc/clickhouse-server
|
|
ExecStartPre=-/bin/chown clickhouse:clickhouse -R /etc/clickhouse-server
|
|
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml
|
|
LimitCORE=infinity
|
|
LimitNOFILE=500000
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|