From 9d0afe0d362f1c13b9905156c98fb338c1b4d7c1 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 6 Mar 2026 13:21:55 +0000 Subject: [PATCH] refactor: update curl commands to use -sSL for silent and follow redirects --- .../Components/Monitor/ServerMonitor/Documentation.tsx | 2 +- HelmChart/cloud-marketplace-install.sh | 8 ++++---- Home/Views/Partials/proudly-open-source.ejs | 2 +- InfrastructureAgent/README.md | 2 +- README.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/App/FeatureSet/Dashboard/src/Components/Monitor/ServerMonitor/Documentation.tsx b/App/FeatureSet/Dashboard/src/Components/Monitor/ServerMonitor/Documentation.tsx index 18ca16afda..a7a744aebb 100644 --- a/App/FeatureSet/Dashboard/src/Components/Monitor/ServerMonitor/Documentation.tsx +++ b/App/FeatureSet/Dashboard/src/Components/Monitor/ServerMonitor/Documentation.tsx @@ -23,7 +23,7 @@ const ServerMonitorDocumentation: FunctionComponent = ( language="bash" code={` # Install the agent -curl -s ${HTTP_PROTOCOL}${HOST.toString()}/docs/static/scripts/infrastructure-agent/install.sh | sudo bash +curl -sSL ${HTTP_PROTOCOL}${HOST.toString()}/docs/static/scripts/infrastructure-agent/install.sh | sudo bash # Configure the agent (without proxy) sudo oneuptime-infrastructure-agent configure --secret-key=${props.secretKey.toString()} --oneuptime-url=${host} diff --git a/HelmChart/cloud-marketplace-install.sh b/HelmChart/cloud-marketplace-install.sh index a0acc0a56e..b6e0784a56 100644 --- a/HelmChart/cloud-marketplace-install.sh +++ b/HelmChart/cloud-marketplace-install.sh @@ -7,16 +7,16 @@ # Add these lines to: sudo crontab -e # Run this on Reboot. -@reboot sudo curl https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled +@reboot sudo curl -sSL https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled # Run this once every 24 hours. -0 0 * * * sudo curl https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled +0 0 * * * sudo curl -sSL https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled ## FOR AWS EC2 # Run this on Reboot. -@reboot sudo curl https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled aws-ec2 +@reboot sudo curl -sSL https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled aws-ec2 # Run this once every 24 hours. -0 0 * * * sudo curl https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled aws-ec2 +0 0 * * * sudo curl -sSL https://oneuptime.com/chart/install.sh | sudo bash -s thirdPartyBillingEnabled aws-ec2 diff --git a/Home/Views/Partials/proudly-open-source.ejs b/Home/Views/Partials/proudly-open-source.ejs index 5bfa1d15e7..1408c2394a 100644 --- a/Home/Views/Partials/proudly-open-source.ejs +++ b/Home/Views/Partials/proudly-open-source.ejs @@ -55,7 +55,7 @@
- $ curl <%= locals.homeUrl || 'https://oneuptime.com' %>/install.sh | bash + $ curl -sSL <%= locals.homeUrl || 'https://oneuptime.com' %>/install.sh | bash
diff --git a/InfrastructureAgent/README.md b/InfrastructureAgent/README.md index 5ffaf83c76..ef006f793e 100644 --- a/InfrastructureAgent/README.md +++ b/InfrastructureAgent/README.md @@ -5,7 +5,7 @@ The OneUptime Infrastructure Agent is a lightweight, open-source agent that coll ### Installation ``` -curl -s https://oneuptime.com/docs/static/scripts/infrastructure-agent/install.sh | bash +curl -sSL https://oneuptime.com/docs/static/scripts/infrastructure-agent/install.sh | bash ``` ### Configure the agent diff --git a/README.md b/README.md index ab76229ac2..5ff8e8eca0 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ By using OneUptime Cloud, you also support the continued development of the open ```bash # Quick start with one command -curl -L https://oneuptime.com/install.sh | bash +curl -sSL https://oneuptime.com/install.sh | bash ``` For detailed installation guides, see: