18 lines
499 B
Bash
18 lines
499 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/php81/php-fpm.d/*
|
|
mv /opt/Setup/Configs/php.conf /etc/php81/php-fpm.d/heimdall.conf
|
|
mv /opt/Setup/Configs/phpTimezone.ini /etc/php81/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 |