Fix systemd's clickhouse-server.service (#2537)

This commit is contained in:
proller 2018-06-20 23:18:47 +03:00 committed by GitHub
parent fbe7df73a2
commit 30a6c6479b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@ Group=clickhouse
PermissionsStartOnly=true
Restart=always
RestartSec=30
ExecStartPre=chown clickhouse:clickhouse -R /etc/clickhouse-server
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