ClickHouse/debian/clickhouse-server-base.prerm
2018-02-09 19:01:38 +03:00

7 lines
178 B
Bash

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