diff options
| author | Lasse Luttermann Poulsen <llp@nordu.net> | 2017-08-17 16:06:59 +0200 |
|---|---|---|
| committer | Lasse Luttermann Poulsen <llp@nordu.net> | 2017-08-17 16:06:59 +0200 |
| commit | b2c211dd63705d808b8a1d57ac3230bc1377ebff (patch) | |
| tree | 39cfba3a1f23c90362c5680dcd10268e7f51ee57 /node-exporter/install.sh | |
| parent | 2326e43b597c9b619a24d9814960a32956926f2b (diff) | |
Added automatic start after installation with SysV init...
Diffstat (limited to 'node-exporter/install.sh')
| -rw-r--r-- | node-exporter/install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
