Files
HomeServerCTs/CT-Files/heimdall/Scripts/Init.sh
Bram Prieshof 6c182a2ec7 Fixed FirstSetup and upgraded Alpine to 3.16 version
"FirstSetup": now installes go form official website

CT ElkarbackupALP: New use old stable repo(3.15) for php7 since is is obeleted in 3.16

CT HeimdallCT: Switched to php8 and when git cloing using 2.x branch instead of master
2022-07-01 00:45:21 +02:00

18 lines
496 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/php8/php-fpm.d/*
mv /opt/Setup/Configs/php.conf /etc/php8/php-fpm.d/heimdall.conf
mv /opt/Setup/Configs/phpTimezone.ini /etc/php8/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-fpm8