mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
after-backup was run with the wrong environment
This commit is contained in:
parent
99e51f8a52
commit
cdd3a64638
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user