Sfoglia il codice sorgente

fix dovecot restart

jigen 4 anni fa
parent
commit
8f282ad629
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      OTcerts.py

+ 1 - 1
OTcerts.py

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