ClickHouse/debian/clickhouse-server.service
ezhaka 3178f57f54
Do not use exact chown path
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.
2018-06-14 19:29:09 +03:00

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