From e48d2180906f69009fc830b5a1f5696c6e6ab88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 30 Sep 2018 08:02:09 +0200 Subject: bigclown: configure init script respawn --- bigclown-gateway/Makefile | 2 +- bigclown-gateway/files/init | 2 +- bigclown-mqtt2influxdb/Makefile | 2 +- bigclown-mqtt2influxdb/files/init | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigclown-gateway/Makefile b/bigclown-gateway/Makefile index 03b25b1..031c315 100644 --- a/bigclown-gateway/Makefile +++ b/bigclown-gateway/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bigclown-gateway -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-gateway.git PKG_MAINTAINER:=Karel Kočí diff --git a/bigclown-gateway/files/init b/bigclown-gateway/files/init index 090cc06..02f27d1 100755 --- a/bigclown-gateway/files/init +++ b/bigclown-gateway/files/init @@ -39,7 +39,7 @@ start_service() { append mqtt keyfile ' keyfile:' procd_open_instance - procd_set_param respawn + procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5} procd_set_param command "$PROG" -c "$CONF" -W procd_set_param stdout 1 procd_set_param stderr 1 diff --git a/bigclown-mqtt2influxdb/Makefile b/bigclown-mqtt2influxdb/Makefile index fd606f0..c77bbbe 100644 --- a/bigclown-mqtt2influxdb/Makefile +++ b/bigclown-mqtt2influxdb/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bigclown-mqtt2influxdb -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-mqtt2influxdb.git PKG_MAINTAINER:=Karel Kočí diff --git a/bigclown-mqtt2influxdb/files/init b/bigclown-mqtt2influxdb/files/init index 76e5d2d..5218205 100644 --- a/bigclown-mqtt2influxdb/files/init +++ b/bigclown-mqtt2influxdb/files/init @@ -10,7 +10,7 @@ CONF=/etc/bc-mqtt2influxdb.yml start_service() { procd_open_instance - procd_set_param respawn + procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5} procd_set_param command "$PROG" -c "$CONF" procd_set_param stdout 1 procd_set_param stderr 1 -- cgit v1.2.3