diff --git a/vhost-apache2/vhost.py b/vhost-apache2/vhost.py index 8ce9d19..278d655 100755 --- a/vhost-apache2/vhost.py +++ b/vhost-apache2/vhost.py @@ -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.')