Added error handeling for init.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user