Added Custom php pools to all available CMS's

This commit is contained in:
2020-07-17 15:52:34 +02:00
parent d246815e90
commit a3be7f3e18
13 changed files with 105 additions and 33 deletions

7
CMS/nextcloud/conf.sh Normal file
View File

@@ -0,0 +1,7 @@
#PHP Pool
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/Fpm-Pool.conf-unconfigured -O /etc/php/"$phpver"/fpm/pool.d/"$sitename".conf
sed -i -e 's/PHPver/'$phpver'/' -e 's/SITEname/'$sitename'/' /etc/php/"$phpver"/fpm/pool.d/$sitename.conf
groupadd "$sitename"
useradd -g "$sitename" "$sitename"
systemctl reload php"$phpver"-fpm