ClickHouse/debian/clickhouse-client.postinst

10 lines
208 B
Plaintext
Raw Normal View History

#!/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