File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1238,6 +1238,15 @@ def setup_postfix_dovecot_config(self):
12381238
12391239 command = "systemctl restart dovecot"
12401240 ProcessUtilities .executioner (command )
1241+
1242+ ## For ubuntu 20
1243+
1244+ if ProcessUtilities .decideDistro () == ProcessUtilities .ubuntu20 :
1245+
1246+ command = "sed -i 's|daemon_directory = /usr/libexec/postfix|daemon_directory = /usr/lib/postfix/sbin|g' /etc/postfix/main.cf"
1247+ ProcessUtilities .executioner (command )
1248+
1249+
12411250 except BaseException as msg :
12421251 logging .CyberCPLogFileWriter .statusWriter (self .extraArgs ['tempStatusPath' ],
12431252 '%s [setup_postfix_dovecot_config][404]' % (
@@ -1574,7 +1583,6 @@ def debugEmailForSite(self, websiteName):
15741583 return 1 , 'All checks are OK.'
15751584
15761585
1577-
15781586def main ():
15791587
15801588 parser = argparse .ArgumentParser (description = 'CyberPanel Installer' )
You can’t perform that action at this time.
0 commit comments