summaryrefslogtreecommitdiff
path: root/bigclown-mqtt2influxdb/files/init
diff options
context:
space:
mode:
Diffstat (limited to 'bigclown-mqtt2influxdb/files/init')
-rw-r--r--bigclown-mqtt2influxdb/files/init2
1 files changed, 1 insertions, 1 deletions
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