From b2c211dd63705d808b8a1d57ac3230bc1377ebff Mon Sep 17 00:00:00 2001 From: Lasse Luttermann Poulsen Date: Thu, 17 Aug 2017 16:06:59 +0200 Subject: Added automatic start after installation with SysV init... --- node-exporter/install.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'node-exporter') diff --git a/node-exporter/install.sh b/node-exporter/install.sh index e6ca181..54aaf82 100644 --- a/node-exporter/install.sh +++ b/node-exporter/install.sh @@ -46,6 +46,7 @@ else sed "s|##OPTS##|$EXPORTER_OPTS|g" > $SCRIPT_PATH/tmp/node-exporter install -C -o root -m 755 $SCRIPT_PATH/tmp/node-exporter /etc/init.d chkconfig --add node-exporter + /etc/init.d/node-exporter start fi -- cgit v1.1