ClickHouse/debian/clickhouse-server.preinst

9 lines
164 B
Bash

#!/bin/sh
if [ "$1" = "upgrade" ]; then
# Return etc/cron.d/clickhouse-server to original state
service clickhouse-server disable_cron ||:
fi
#DEBHELPER#