luci-app-rclone: fix ip is not specified
This commit is contained in:
parent
b6762605ac
commit
bae1105f35
@ -14,7 +14,7 @@ LUCI_DEPENDS:=+rclone +rclone-webui-react
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_NAME:=luci-app-rclone
|
||||
PKG_VERSION:=1.0.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_LICENSE:=GPLv3.0+
|
||||
PKG_MAINTAINER:=ElonH <elonhhuang@gmail.com>
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ start_service() {
|
||||
_info "Instance \"rclone\" start."
|
||||
procd_open_instance
|
||||
procd_set_param command /usr/bin/$APP rcd -vv
|
||||
procd_append_param command --rc-addr=:${port}
|
||||
procd_append_param command --rc-addr=${addr}:${port}
|
||||
procd_append_param command --rc-user=${username} --rc-pass=${password}
|
||||
procd_append_param command --config=${config_path}
|
||||
procd_append_param command --rc-allow-origin=*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user