From 3c639abc7a7a6b85f04b6d60de78404faa02e98b Mon Sep 17 00:00:00 2001 From: AJ Salkeld Date: Sat, 16 Jul 2016 18:20:19 +0100 Subject: [PATCH] Master to Linux, Ubuntu service to new branch --- nginx-modsite | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx-modsite b/nginx-modsite index aac2ca9..8086057 100644 --- a/nginx-modsite +++ b/nginx-modsite @@ -128,11 +128,11 @@ ngx_sites() { ngx_reload() { read -p "Would you like to reload the Nginx configuration now? (Y/n) " reload - [[ "$reload" != "n" && "$reload" != "N" ]] && sudo service nginx reload + [[ "$reload" != "n" && "$reload" != "N" ]] && invoke-rc.d nginx reload } ngx_reload_now() { - sudo service nginx reload + invoke-rc.d nginx reload } ngx_error() {