Fix 'info -n'

This commit is contained in:
2022-05-29 21:12:51 +02:00
parent c6e62725da
commit e014397076
4 changed files with 13 additions and 13 deletions

View File

@@ -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"; }