ClickHouse/debian/clickhouse-server.preinst

7 lines
151 B
Bash

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