fix dovecot restart

This commit is contained in:
jigen 2020-02-24 00:38:55 +01:00
parent f0272a12c3
commit 8f282ad629

View file

@ -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)