From 0f0c8601ef03d6d06840ad5ddd1f7e1d43494485 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sat, 20 May 2017 12:21:59 +0200 Subject: [PATCH] add trusted domains also when setting up no-ip --- etc/nextcloudpi-config.d/no-ip.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/nextcloudpi-config.d/no-ip.sh b/etc/nextcloudpi-config.d/no-ip.sh index 19db2c621..aa0336a35 100755 --- a/etc/nextcloudpi-config.d/no-ip.sh +++ b/etc/nextcloudpi-config.d/no-ip.sh @@ -18,6 +18,7 @@ ACTIVE_=no USER_=my-noip-user@email.com PASS_=noip-pass +DOMAIN_=mycloud.ownyourbits.com TIME_=30 DESCRIPTION="Free Dynamic DNS provider (need account)" @@ -68,6 +69,8 @@ configure() update-rc.d noip2 defaults update-rc.d noip2 enable service noip2 restart + cd /var/www/nextcloud + sudo -u www-data php occ config:system:set trusted_domains 3 --value=$DOMAIN_ } cleanup()