This commit is contained in:
gauthiier 2018-11-28 10:27:58 +01:00
parent f21dc3fe27
commit bb4a9fac09

View File

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