Fix 'info -n'
This commit is contained in:
@@ -64,8 +64,8 @@ step_3() {
|
||||
# create webroot
|
||||
exe mkdir -p "$siteLetsencryptWww"
|
||||
|
||||
info -n "Restarting Nginx..."
|
||||
exe service nginx restart && info "ok"
|
||||
sqr::echo -n "Restarting Nginx..."
|
||||
exe service nginx restart && sqr::echo "ok"
|
||||
endReturn -o $? "Failed to install $serverName"
|
||||
}
|
||||
snippetLetsencryptLoc="/etc/nginx/snippets/letsencrypt.conf"
|
||||
@@ -157,8 +157,8 @@ step_5() {
|
||||
exe sed -i 's/pm.max_spare_servers =.*/pm.max_spare_servers = '$PMaxSS'/' "$phpPoolConfigLocation"
|
||||
exe sed -i "s/;pm.max_requests =.*/pm.max_requests = 1000/" "$phpPoolConfigLocation"
|
||||
|
||||
info -n "Restarting ${phpName} ... "
|
||||
exe service ${phpName}-fpm restart && info "ok"
|
||||
sqr::echo -n "Restarting ${phpName} ... "
|
||||
exe service ${phpName}-fpm restart && sqr::echo "ok"
|
||||
}
|
||||
|
||||
step_6_info() { echo "Installation notes"; }
|
||||
|
Reference in New Issue
Block a user