Files
HomeServerCTs/CT-Files/heimdall/Scripts/Init.sh
Bram Prieshof 094e7908b2 Bumb PHP version in Alpine CT 's
From 8.2 to 8.3
Added PHP bumb/update script
2024-01-11 23:11:46 +01:00

18 lines
500 B
Bash

#!/bin/ash
#Configure Nginx
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/heimdall.conf
mv /opt/Setup/Configs/phpTimezone.ini /etc/php83/conf.d/04_date_timezone.ini
#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
rc-update add php-fpm83