summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authormaneamarius <locomotion.itservices@gmail.com>2022-05-03 11:06:01 +0300
committerGitHub <noreply@github.com>2022-05-03 11:06:01 +0300
commit5850810715a9b2fc9413a2b43ae2dc1d1a5b4bf6 (patch)
tree4491994937c24545c68d8613be23341551e59d19 /netdata-installer.sh
parent0996abc7c0ef80bf9d128cfe52b69082831c61e4 (diff)
Rename --install option for kickstart.sh (#12798)
* replace --install flag with --install-prefix and update documentation * fix * minor fix
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index a5bbab9690..736fafdba7 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -161,6 +161,10 @@ banner_nonroot_install() {
Please set an installation prefix, like this:
+ $PROGRAM ${@} --install-prefix /tmp
+
+ or
+
$PROGRAM ${@} --install /tmp
or, run the installer as root:
@@ -199,7 +203,8 @@ usage() {
USAGE: ${PROGRAM} [options]
where options include:
- --install <path> Install netdata in <path>. Ex. --install /opt will put netdata in /opt/netdata.
+ --install <path> Install netdata in <path>. Ex. --install /opt will put netdata in /opt/netdata, this option is deprecated and will be removed in a future version, please use --install-prefix instead.
+ --install-prefix <path> Install netdata in <path>. Ex. --install-prefix /opt will put netdata in /opt/netdata.
--dont-start-it Do not (re)start netdata after installation.
--dont-wait Run installation in non-interactive mode.
--stable-channel Use packages from GitHub release pages instead of nightly updates.
@@ -370,6 +375,10 @@ while [ -n "${1}" ]; do
NETDATA_PREFIX="${2}/netdata"
shift 1
;;
+ "--install-prefix")
+ NETDATA_PREFIX="${2}/netdata"
+ shift 1
+ ;;
"--install-no-prefix")
NETDATA_PREFIX="${2}"
shift 1