configure nginx and php-fpm
This commit is contained in:
parent
8caa3cb7f1
commit
ff8779969c
4
install
4
install
@ -54,12 +54,14 @@ case ${codename} in
|
|||||||
confCmd="omv-mkconf"
|
confCmd="omv-mkconf"
|
||||||
ntp="ntp"
|
ntp="ntp"
|
||||||
omvCodename="arrakis"
|
omvCodename="arrakis"
|
||||||
|
phpfpm="php-fpm"
|
||||||
version=4
|
version=4
|
||||||
;;
|
;;
|
||||||
buster)
|
buster)
|
||||||
confCmd="omv-salt deploy run"
|
confCmd="omv-salt deploy run"
|
||||||
ntp="chrony"
|
ntp="chrony"
|
||||||
omvCodename="usul"
|
omvCodename="usul"
|
||||||
|
phpfpm="phpfpm"
|
||||||
version=5
|
version=5
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -239,7 +241,7 @@ if [ ${version} -gt 4 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# update config files
|
# update config files
|
||||||
for service in samba flashmemory ssh ${ntp} timezone monit rrdcached collectd cpufrequtils ; do
|
for service in nginx ${phpfpm} samba flashmemory ssh ${ntp} timezone monit rrdcached collectd cpufrequtils ; do
|
||||||
${confCmd} ${service}
|
${confCmd} ${service}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user