Added Custom php pools to all available CMS's
This commit is contained in:
7
CMS/nextcloud/conf.sh
Normal file
7
CMS/nextcloud/conf.sh
Normal 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
|
||||
Reference in New Issue
Block a user