1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

after-backup was run with the wrong environment

This commit is contained in:
Joshua Tauberer 2015-08-09 20:01:12 +00:00
parent 99e51f8a52
commit cdd3a64638

View File

@ -273,7 +273,7 @@ def perform_backup(full_backup):
if os.path.exists(post_script):
shell('check_call',
['su', env['STORAGE_USER'], '-c', post_script, config["target"]],
env=get_env(env))
env=env)
# Our nightly cron job executes system status checks immediately after this
# backup. Since it checks that dovecot and postfix are running, block for a