fix dovecot restart
This commit is contained in:
parent
f0272a12c3
commit
8f282ad629
1 changed files with 1 additions and 1 deletions
|
@ -335,5 +335,5 @@ if __name__ == '__main__':
|
|||
# restart dovecot
|
||||
logger.info("Restarting dovecot")
|
||||
# ret = subprocess.run("systemctl restart dovecot")
|
||||
ret = os.system("systemctl reload dovecot")
|
||||
ret = os.system("systemctl restart dovecot")
|
||||
logger.info(ret)
|
||||
|
|
Loading…
Reference in a new issue