full postfix path

This commit is contained in:
Charlie Jacomme 2018-08-09 16:37:34 +02:00
parent 37a453dcb9
commit cbc360893b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def generate(api_client):
fichier.close() fichier.close()
call(["/usr/bin/newaliases"]) # Update the aliases config file call(["/usr/bin/newaliases"]) # Update the aliases config file
call(["postfix", "reload"]) # force the reloading now call(["/usr/sbin/postfix", "reload"]) # force the reloading now
for arg in sys.argv: for arg in sys.argv:
if arg=="--force": if arg=="--force":