Commit a16855ec authored by Michael Kroes's avatar Michael Kroes Committed by Joshua Tauberer

Backup script should now stop php7.0-fpm instead of php5-fpm (#1206)

parent d7731405
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment