update web services
This commit is contained in:
@@ -7,9 +7,9 @@ WEBHOSTS=10.5.10.121,10.5.10.122,10.5.10.123
|
||||
LBHOSTS=10.10.10.81,10.10.10.82,10.10.10.83
|
||||
PRIMARYHOST=10.5.10.51
|
||||
MYSQLMANAGER=10.5.10.50
|
||||
NODESERVICES=mysql,nginx,gitea,powerdns-admin,haproxy,keepalived,maxscale,postgresql
|
||||
NODESERVICES=mysql,nginx,gitea,powerdns-admin,haproxy,keepalived,maxscale,postgresql,web
|
||||
MYSQLSERVICES_CHECK=mysql
|
||||
WEBSERVICES_CHECK=nginx,gitea,powerdns-admin,keepalived
|
||||
WEBSERVICES_CHECK=nginx,gitea,powerdns-admin,keepalived,php-fpm,php5.6-fpm,php7.2-fpm,php7.3-fpm
|
||||
LBSERVICES_CHECK=haproxy,keepalived
|
||||
noheader=' service status-check nightlyrenew backup report check checkcerts gitea '
|
||||
CERT_DAEMON='/usr/bin/certbot'
|
||||
|
||||
@@ -1544,6 +1544,12 @@ if [ ${action-x} ]; then
|
||||
SERVICE gitea stop
|
||||
SET-PERMISSIONS gitea
|
||||
SERVICE gitea start
|
||||
elif [ "$2" = "web" ]; then
|
||||
SERVICE nginx ${3}
|
||||
SERVICE php-fpm ${3}
|
||||
SERVICE php5.6-fpm ${3}
|
||||
SERVICE php7.2-fpm ${3}
|
||||
SERVICE php7.3-fpm ${3}
|
||||
else
|
||||
SERVICE ${2} ${3} ${4}
|
||||
fi;;
|
||||
|
||||
Reference in New Issue
Block a user