From f476b0c038224ffd5cef5281e093e72130a148e3 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Wed, 28 Nov 2018 10:37:05 +0100 Subject: [PATCH] vhost --- vhost-apache2/vhost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.')