mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
3178f57f54
We've faced with the problem that chown is located in ``/bin/chown`` instead of ``/usr/bin/chown``. We've created symlink in order to bypass the problem, but it seems it would be nice to fix the script.
18 lines
400 B
Desktop File
18 lines
400 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=chown clickhouse:clickhouse -R /etc/clickhouse-server
|
|
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml
|
|
LimitCORE=infinity
|
|
LimitNOFILE=500000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|