vhost
This commit is contained in:
parent
ac52f297ec
commit
f476b0c038
@ -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.')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user