full postfix path
This commit is contained in:
parent
37a453dcb9
commit
cbc360893b
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue