Skip to content

Commit 69d7aba

Browse files
committed
restart postfix/dovecot on ssl renew, ref: #428
1 parent f98161a commit 69d7aba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plogical/virtualHostUtilities.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@ def issueSSL(virtualHost, path, adminEmail):
285285

286286
installUtilities.installUtilities.reStartLiteSpeed()
287287

288+
command = 'systemctl restart postfix'
289+
ProcessUtilities.executioner(command)
290+
291+
command = 'systemctl restart dovecot'
292+
ProcessUtilities.executioner(command)
293+
288294
print("1,None")
289295
return 1, None
290296

0 commit comments

Comments
 (0)