take care of postfix/dovecot configs

This commit is contained in:
Usman Nasir
2020-09-16 19:28:27 +05:00
parent 82297f8aac
commit 36805ff607

View File

@@ -1929,16 +1929,16 @@ imap_folder_list_limit = 0
### Restore dovecot/postfix conf
command = 'rm -rf %s' % (dovecotConfPath)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'rm -rf %s' % (postfixConfPath)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'mv %s/dovecot /etc/' % (configbackups)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'mv %s/postfix /etc/' % (configbackups)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
## Restored
@@ -1984,16 +1984,16 @@ imap_folder_list_limit = 0
### Restore dovecot/postfix conf
command = 'rm -rf %s' % (dovecotConfPath)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'rm -rf %s' % (postfixConfPath)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'mv %s/dovecot /etc/' % (configbackups)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
command = 'mv %s/postfix /etc/' % (configbackups)
Upgrade.executioner(command)
Upgrade.executioner(command, 0)
## Restored