Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-04-07 01:40:46 +0300
committernachoparker <nacho@ownyourbits.com>2017-04-07 01:40:46 +0300
commit714f6b2a79576d2c9f967d3cab4d9311fe889d1a (patch)
tree82b42c6ab93abce41fd1bceba84c2f4553150378 /etc/nextcloudpi-config.d/dnsmasq.sh
parenta17c39313b0b08c41acd69f092a847dcf46e8a57 (diff)
fixes enabling servicesv0.5.10
Diffstat (limited to 'etc/nextcloudpi-config.d/dnsmasq.sh')
-rwxr-xr-xetc/nextcloudpi-config.d/dnsmasq.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/dnsmasq.sh b/etc/nextcloudpi-config.d/dnsmasq.sh
index 657c51cf..81ac3a3d 100755
--- a/etc/nextcloudpi-config.d/dnsmasq.sh
+++ b/etc/nextcloudpi-config.d/dnsmasq.sh
@@ -42,9 +42,10 @@ server=$DNSSERVER_
address=/$DOMAIN_/$IP_ # This is optional if we add it to /etc/hosts
EOF
- sed 's|#\?IGNORE_RESOLVCONF=.*|IGNORE_RESOLVCONF=yes|' /etc/default/dnsmasq
+ sed -i 's|#\?IGNORE_RESOLVCONF=.*|IGNORE_RESOLVCONF=yes|' /etc/default/dnsmasq
update-rc.d dnsmasq defaults
+ update-rc.d dnsmasq enable
service dnsmasq restart
cd /var/www/nextcloud
sudo -u www-data php occ config:system:set trusted_domains 2 --value=$DOMAIN_