Commit dac9cca9 authored by grisel-davy's avatar grisel-davy

update et reload de postfix

parent 3ade345c
......@@ -9,6 +9,7 @@ from jinja2 import Environment, FileSystemLoader
import requests
import base64
import json
from subprocess import call
import os.path
config = ConfigParser()
......@@ -40,5 +41,6 @@ if os.path.isfile('aliases_local'): # if a local aliases file exist, add it's c
fichier.write(aliases_rendered)
fichier.close()
print('done')
call(["newalias", "generated/aliases"]) # Update the aliases config file
call(["postfix", "reload"]) # force the reloading now
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment