diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-06-29 16:09:16 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-06-29 16:13:38 +0300 |
commit | 4aba04963cc8fb89780b57a73cec316f8c26f451 (patch) | |
tree | c4e6319b89b98463affb38aa64a6b6bbcabac677 /etc/nextcloudpi-config.d/no-ip.sh | |
parent | ea1a3d61aad22eaa118b8fe549c51f092a0d9289 (diff) |
init noip service in installation stepv0.14.9
Diffstat (limited to 'etc/nextcloudpi-config.d/no-ip.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/no-ip.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/no-ip.sh b/etc/nextcloudpi-config.d/no-ip.sh index 67e91dba..d3b851f3 100644 --- a/etc/nextcloudpi-config.d/no-ip.sh +++ b/etc/nextcloudpi-config.d/no-ip.sh @@ -60,6 +60,9 @@ EOF chmod +x /etc/init.d/noip2 cd - rm -r /tmp/noip + + update-rc.d noip2 defaults + update-rc.d noip2 disable } configure() @@ -67,7 +70,6 @@ configure() [[ $ACTIVE_ != "yes" ]] && { service noip2 stop; update-rc.d noip2 disable; return; } /usr/local/bin/noip2 -C -c /usr/local/etc/no-ip2.conf -U $TIME_ -u $USER_ -p $PASS_ - update-rc.d noip2 defaults update-rc.d noip2 enable service noip2 restart cd /var/www/nextcloud |