"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
18 lines
496 B
Bash
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 |