Commit cdd3a646 authored by Joshua Tauberer's avatar Joshua Tauberer

after-backup was run with the wrong environment

parent 99e51f8a
......@@ -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
......
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