From aa1a23d5a1a7067b32afb6baa038a65c0d01b3d0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 2 Dec 2018 05:10:06 -0500 Subject: [PATCH] fix: ensure any backup cron files are deleted when the service is destroyed Closes dokku/dokku-redis#118 --- subcommands/destroy | 1 + 1 file changed, 1 insertion(+) diff --git a/subcommands/destroy b/subcommands/destroy index a031f48..8854f6d 100755 --- a/subcommands/destroy +++ b/subcommands/destroy @@ -38,6 +38,7 @@ service-destroy-cmd() { fi dokku_log_info2_quiet "Deleting $SERVICE" + service_backup_unschedule "$SERVICE" if [[ -n $(docker ps -aq -f name="$SERVICE_NAME") ]]; then dokku_log_verbose_quiet "Deleting container data" service_stop "$SERVICE"