mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
It is sometimes usefull for force reinstallation of the node_exporter, for example during upgrade or if something is wrong with the current installation. This patch adds a --force command line option. If the --force is given to the node_expoerter_install, it will reinstall node_exporter to the latest version, regardless if it was already installed. The symbolic link in /usr/bin/node_exporter will be set to the installed version, so if there are other installed version, they will remain. Examples: $ sudo ./dist/common/scripts/node_exporter_install node_exporter already installed, you can use `--force` to force reinstallation $ sudo ./dist/common/scripts/node_exporter_install --force node_exporter already installed, reinstalling Fixes #4201 Signed-off-by: Amnon Heiman <amnon@scylladb.com> Message-Id: <20190225151120.21919-1-amnon@scylladb.com>