zerotier: add respawn procd param

Signed-off-by: Chao Liu <git@expiron.dev>
This commit is contained in:
Chao Liu 2021-10-13 21:27:34 +08:00 committed by Josef Schlehofer
parent 1e1d5f5d65
commit 52fcc9bf62
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=zerotier PKG_NAME:=zerotier
PKG_VERSION:=1.6.6 PKG_VERSION:=1.6.6
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)?
@ -77,4 +77,3 @@ endif
endef endef
$(eval $(call BuildPackage,zerotier)) $(eval $(call BuildPackage,zerotier))

View file

@ -94,6 +94,7 @@ start_instance() {
procd_open_instance procd_open_instance
procd_set_param command $PROG $args $path procd_set_param command $PROG $args $path
procd_set_param stderr 1 procd_set_param stderr 1
procd_set_param respawn
procd_close_instance procd_close_instance
} }