mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-17 04:52:05 +01:00
restart postfix/dovecot on ssl renew, ref: https://github.com/usmannasir/cyberpanel/issues/428
This commit is contained in:
@@ -285,6 +285,12 @@ class virtualHostUtilities:
|
||||
|
||||
installUtilities.installUtilities.reStartLiteSpeed()
|
||||
|
||||
command = 'systemctl restart postfix'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'systemctl restart dovecot'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
print("1,None")
|
||||
return 1, None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user