mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
init noip service in installation step
This commit is contained in:
parent
ea1a3d61aa
commit
4aba04963c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user