From a16855ecf01d5e5deac474baf1993023242f662d Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Mon, 17 Jul 2017 15:45:40 +0200 Subject: [PATCH] Backup script should now stop php7.0-fpm instead of php5-fpm (#1206) --- management/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/backup.py b/management/backup.py index 7c7f5d93..4e2f146a 100755 --- a/management/backup.py +++ b/management/backup.py @@ -267,7 +267,7 @@ def perform_backup(full_backup): if quit: sys.exit(code) - service_command("php5-fpm", "stop", quit=True) + service_command("php7.0-fpm", "stop", quit=True) service_command("postfix", "stop", quit=True) service_command("dovecot", "stop", quit=True) @@ -301,7 +301,7 @@ def perform_backup(full_backup): # Start services again. service_command("dovecot", "start", quit=False) service_command("postfix", "start", quit=False) - service_command("php5-fpm", "start", quit=False) + service_command("php7.0-fpm", "start", quit=False) # Once the migrated backup is included in a new backup, it can be deleted. if os.path.isdir(migrated_unencrypted_backup_dir):