added php-fpm
This commit is contained in:
1
CoreModules/nginx/reqmodules.sh
Normal file
1
CoreModules/nginx/reqmodules.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
aonoption="$aonoption php-fpm"
|
||||||
1
SubModules/php-fpm/conf.sh
Normal file
1
SubModules/php-fpm/conf.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
echo "phpfpmmod" > /root/phpwashere
|
||||||
@@ -370,6 +370,12 @@ echo 'SelectedOptions=('$option')' > /etc/ICTM/selopts.list
|
|||||||
|
|
||||||
#Cleaning options from menu
|
#Cleaning options from menu
|
||||||
option="${option,,}" && option="${option// /}" && option="${option//:/ }" && option="${option//'"'}"
|
option="${option,,}" && option="${option// /}" && option="${option//:/ }" && option="${option//'"'}"
|
||||||
|
|
||||||
|
#enableing modules wanted by webserver
|
||||||
|
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$repo"/raw/branch/"$branch"/CoreModules/"$webserv"/conf.sh; then
|
||||||
|
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/CoreModules/"$webserv"/reqmodules.sh)
|
||||||
|
fi
|
||||||
|
|
||||||
#Combining selected option with always-on options
|
#Combining selected option with always-on options
|
||||||
option="$option""$aonoption"
|
option="$option""$aonoption"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user