This commit is contained in:
gauthiier 2018-11-28 10:37:05 +01:00
parent ac52f297ec
commit f476b0c038

View File

@ -147,8 +147,8 @@ if __name__ == "__main__":
elif args.remove:
vhost_remove(d)
if y_n_question("Restart apache2?"):
subprocess.call(['sudo', 'service', 'apache2', 'restart'])
if y_n_question("Reload apache2?"):
subprocess.call(['sudo', 'service', 'apache2', 'reload'])
print('done.')