prometheus-node-exporter-lua: respawn the process
authorAndre Heider <a.heider@gmail.com>
Wed, 2 Jan 2019 14:33:16 +0000 (15:33 +0100)
committerEtienne Champetier <champetier.etienne@gmail.com>
Mon, 18 Nov 2019 02:16:48 +0000 (18:16 -0800)
Signed-off-by: Andre Heider <a.heider@gmail.com>
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua

index 80a6acdfc45fca9861ebddc90905ab259c9702ab..a2b0e229e7d3a158fb18c70e44b8d96d94641392 100644 (file)
@@ -41,6 +41,7 @@ start_service() {
 
        procd_set_param stdout 1
        procd_set_param stderr 1
+       procd_set_param respawn
 
        procd_close_instance
 }