mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Implemented TODO [#CLICKHOUSE-2]
This commit is contained in:
parent
1437e5cbe3
commit
10ef8caa3b
6
debian/clickhouse-server.postinst
vendored
6
debian/clickhouse-server.postinst
vendored
@ -82,12 +82,6 @@ Please fix this and reinstall this package." >&2
|
||||
chmod 775 ${CLICKHOUSE_LOGDIR}
|
||||
fi
|
||||
|
||||
|
||||
if [ -d ${CLICKHOUSE_LOGDIR} ]; then
|
||||
# only for compatibility for old metrika user, remove string after 2017-06-01
|
||||
su -s /bin/sh ${CLICKHOUSE_USER} -c "test -w ${CLICKHOUSE_LOGDIR}" || chown -R root:${CLICKHOUSE_GROUP} ${CLICKHOUSE_LOGDIR}; chmod -R ug+rw ${CLICKHOUSE_LOGDIR}
|
||||
fi
|
||||
|
||||
# Clean old dynamic compilation results
|
||||
if [ -d "${CLICKHOUSE_DATADIR}/build" ]; then
|
||||
rm -f ${CLICKHOUSE_DATADIR}/build/*.cpp ${CLICKHOUSE_DATADIR}/build/*.so ||:
|
||||
|
Loading…
Reference in New Issue
Block a user