zerotier: add respawn procd param
authorChao Liu <redacted>
Wed, 13 Oct 2021 13:27:34 +0000 (21:27 +0800)
committerRosen Penev <redacted>
Sat, 30 Oct 2021 08:07:28 +0000 (01:07 -0700)
Signed-off-by: Chao Liu <redacted>
net/zerotier/Makefile
net/zerotier/files/etc/init.d/zerotier

index d77de30ef11f9c49953d534d9b98b994739e5b04..2c5e6d3ece605da4b9c7c1be512a7e7a9357efc2 100644 (file)
@@ -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))
-
index 625c6db776cf29197540218e8e8d255abe1bd9c5..3d9e60c1c0dc19e802762f4247d8a393d7703836 100755 (executable)
@@ -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
 }
 
git clone https://git.99rst.org/PROJECT