-
-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add trusted domains also when setting up no-ip
- Loading branch information
1 parent
aae7663
commit 0f0c860
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
ACTIVE_=no | ||
[email protected] | ||
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() | ||
|