Added error handeling for init.sh

This commit is contained in:
2022-07-02 22:09:33 +02:00
parent d47e3d8ebe
commit ec7705f5fc
13 changed files with 14 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/ash
#Get Resources
curl -L --retry 7 --retry-delay 5 https://download.nextcloud.com/server/releases/latest.tar.bz2 -o /opt/Setup/nextcloud.tar.bz2
curl -L --retry 7 --retry-delay 5 https://download.nextcloud.com/server/releases/latest.tar.bz2 -o /opt/Setup/nextcloud.tar.bz2 || exit 1
#Configure Nginx
rm -rf /etc/nginx/conf.d