Skip to content

Commit

Permalink
nc-static-IP: fix occ path
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 28, 2017
1 parent 5b50ec3 commit 8c590e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/nextcloudpi-config.d/nc-static-IP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ static domain_name_servers=$DNS
EOF

systemctl restart dhcpcd
sudo -u www-data php occ config:system:set trusted_domains 1 --value="$IP_"
sudo -u www-data php occ config:system:set overwrite.cli.url --value=https://"$IP_"
sudo -u www-data php /var/www/nextcloud/occ config:system:set trusted_domains 1 --value="$IP_"
sudo -u www-data php /var/www/nextcloud/occ config:system:set overwrite.cli.url --value=https://"$IP_"
echo "Static IP set to $IP_"
}

Expand Down

0 comments on commit 8c590e9

Please sign in to comment.