aboutsummaryrefslogtreecommitdiff
path: root/net/frp
diff options
context:
space:
mode:
authorVan Waholtz <brvphoenix@gmail.com>2023-02-16 10:21:20 +0800
committerTianling Shen <cnsztl@gmail.com>2023-03-09 10:41:17 +0800
commit8fcc48c339060b6652f6093278c8a74b0c7ca542 (patch)
treea7dc7d0166df6df32ce4b822da3ceac501438034 /net/frp
parent926617ec4dfc9a85e29b7445ad08e79f9e1143d1 (diff)
frp: update to 0.47.0
A restart is only required if `$conf_file` has been modified. Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
Diffstat (limited to 'net/frp')
-rw-r--r--net/frp/Makefile4
-rw-r--r--net/frp/files/frpc.init6
-rw-r--r--net/frp/files/frps.init6
3 files changed, 4 insertions, 12 deletions
diff --git a/net/frp/Makefile b/net/frp/Makefile
index d77066e9b..f664fa8e1 100644
--- a/net/frp/Makefile
+++ b/net/frp/Makefile
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=frp
-PKG_VERSION:=0.46.1
+PKG_VERSION:=0.47.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v${PKG_VERSION}?
-PKG_HASH:=af3e8d9d4144cf520cee2609cd45fb575afe711c03cc7441dc89d0402628a869
+PKG_HASH:=d98ebf8638701cf8662604b9fe2fb355f91209f87edcb77f2830c7fa40ccbe37
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
PKG_LICENSE:=Apache-2.0
diff --git a/net/frp/files/frpc.init b/net/frp/files/frpc.init
index e7f06edbd..68fe43c4e 100644
--- a/net/frp/files/frpc.init
+++ b/net/frp/files/frpc.init
@@ -69,6 +69,7 @@ start_service() {
procd_open_instance
procd_set_param command "$PROG" -c "$conf_file"
+ procd_set_param file $conf_file
procd_set_param stdout $stdout
procd_set_param stderr $stderr
[ -n "$user" ] && procd_set_param user "$user"
@@ -77,8 +78,3 @@ start_service() {
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env"
procd_close_instance
}
-
-reload_service() {
- stop
- start
-}
diff --git a/net/frp/files/frps.init b/net/frp/files/frps.init
index b87525cd2..38f714fb1 100644
--- a/net/frp/files/frps.init
+++ b/net/frp/files/frps.init
@@ -67,6 +67,7 @@ start_service() {
procd_open_instance
procd_set_param command "$PROG" -c "$conf_file"
+ procd_set_param file $conf_file
procd_set_param stdout $stdout
procd_set_param stderr $stderr
[ -n "$user" ] && procd_set_param user "$user"
@@ -75,8 +76,3 @@ start_service() {
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env"
procd_close_instance
}
-
-reload_service() {
- stop
- start
-}