CT's Nextcloud, Freshrss.heimdall & mailbackup: Refractored PHP Installation
Now using external `AlpinePHPTool` script for installing/configuring php. This wil make upgrading PHP on existing containers automaticaly plausible/easier. Removed php packages from alpine.yaml and moved them to CT-Files `Config/php.pkglist` Remove PHP configurations steps from CT's init.sh and integrated them in ` AlpinePHPTool` Removed PHP timezone configuration files and intergradeded them in `AlpinePHPTool` Updated
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
rm -rf /etc/nginx/conf.d
|
||||
mv /opt/Setup/Configs/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
#Configure Php-Fpm
|
||||
rm -rf /etc/php83/php-fpm.d/*
|
||||
mv /opt/Setup/Configs/php.conf /etc/php83/php-fpm.d/freshrss.conf
|
||||
mv /opt/Setup/Configs/phpTimezone.ini /etc/php83/conf.d/04_date_timezone.ini
|
||||
#SetupPHP
|
||||
ash /opt/Setup/Scripts/PHPTool.sh -d freshrss || exit 1
|
||||
rm /opt/Setup/Scripts/PHPTool.sh
|
||||
|
||||
#Configure Cron
|
||||
mv /opt/Setup/Configs/crontab /etc/crontabs/nginx
|
||||
@@ -31,5 +30,4 @@ ln -s /opt/freshrss-Extensions/cntools/xExtension-YouTubeChannel2RssFeed /opt/fr
|
||||
chown -R nginx:nginx /opt/freshrss-Extensions
|
||||
|
||||
#Enable services on boot
|
||||
rc-update add nginx
|
||||
rc-update add php-fpm83
|
||||
rc-update add nginx
|
||||
Reference in New Issue
Block a user