A restart is only required if `$conf_file` has been modified.
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
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
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"
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env"
procd_close_instance
}
-
-reload_service() {
- stop
- start
-}
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"
[ -n "$env" ] && config_list_foreach "$init_cfg" env "procd_append_param env"
procd_close_instance
}
-
-reload_service() {
- stop
- start
-}