Commit 4dd70253 authored by Alexander Gerasiov's avatar Alexander Gerasiov

d/clickhouse-server.postrm: Remove database on purge.

Signed-off-by: Alexander Gerasiov's avatarAlexander GQ Gerasiov <>
parent b7244a8a
......@@ -21,7 +21,11 @@ set -e
case "$1" in
rm -rf /var/log/clickhouse-server/
rm -rf /var/log/clickhouse-server/ || true
# Idea from mariadb-server, see #829491
if [ -d /var/lib/clickhouse ];then
find /var/lib/clickhouse -not -path /var/lib/clickhouse/lost+found -delete || true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment