Skip to content
Permalink
Browse files
restart postfix/dovecot on ssl renew, ref: #428
  • Loading branch information
usmannasir committed Sep 1, 2020
1 parent f98161a commit 69d7aba9e25a7fde6cf2aa5f4e7b7f504a2a5582
Showing 1 changed file with 6 additions and 0 deletions.
@@ -285,6 +285,12 @@ def issueSSL(virtualHost, path, adminEmail):

installUtilities.installUtilities.reStartLiteSpeed()

command = 'systemctl restart postfix'
ProcessUtilities.executioner(command)

command = 'systemctl restart dovecot'
ProcessUtilities.executioner(command)

print("1,None")
return 1, None

0 comments on commit 69d7aba

Please sign in to comment.