mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 14:20:05 +04:00
zerotier: add respawn procd param
Signed-off-by: Chao Liu <git@expiron.dev>
This commit is contained in:
committed by
Josef Schlehofer
parent
1e1d5f5d65
commit
52fcc9bf62
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=zerotier
|
||||
PKG_VERSION:=1.6.6
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)?
|
||||
@@ -77,4 +77,3 @@ endif
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,zerotier))
|
||||
|
||||
|
||||
@@ -94,6 +94,7 @@ start_instance() {
|
||||
procd_open_instance
|
||||
procd_set_param command $PROG $args $path
|
||||
procd_set_param stderr 1
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user