ClickHouse/debian/clickhouse-client.postinst
proller 1fc4d30bb6 Debian: temporary keep packages with old names (#2186)
* cmake fixes

* Fix test server config

* Debian: temporary keep packages with old names

* fix

* fix

* Debian postinst: adjustable user
2018-04-07 14:14:09 +03:00

10 lines
208 B
Bash

#!/bin/sh
set -e
CLICKHOUSE_USER=${CLICKHOUSE_USER=clickhouse}
mkdir -p /etc/clickhouse-client/conf.d
# user created by clickhouse-server package
chown -R ${CLICKHOUSE_USER} /etc/clickhouse-client || true