Master to Linux, Ubuntu service to new branch
This commit is contained in:
@@ -128,11 +128,11 @@ ngx_sites() {
|
|||||||
|
|
||||||
ngx_reload() {
|
ngx_reload() {
|
||||||
read -p "Would you like to reload the Nginx configuration now? (Y/n) " 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() {
|
ngx_reload_now() {
|
||||||
sudo service nginx reload
|
invoke-rc.d nginx reload
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_error() {
|
ngx_error() {
|
||||||
|
|||||||
Reference in New Issue
Block a user