luci-app-rclone: fix ip is not specified

This commit is contained in:
CN_SZTL 2020-02-06 00:29:06 +08:00
parent b6762605ac
commit bae1105f35
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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=*