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
16 lines
383 B
Bash
16 lines
383 B
Bash
#!/bin/ash
|
|
|
|
#Configure Nginx
|
|
rm -rf /etc/nginx/conf.d
|
|
mv /opt/Setup/Configs/nginx.conf /etc/nginx/nginx.conf
|
|
|
|
#SetupPHP
|
|
ash /opt/Setup/Scripts/PHPTool.sh -d heimdall || exit 1
|
|
rm /opt/Setup/Scripts/PHPTool.sh
|
|
|
|
#Install Heimdall
|
|
git clone -b 2.x https://github.com/linuxserver/Heimdall.git /opt/heimdall
|
|
chown -R nginx:nginx /opt/heimdall
|
|
|
|
#Enable services on boot
|
|
rc-update add nginx |