From f0e08d27336142a9f6512f9d0f10b957a798370d Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 4 Jul 2023 16:48:14 +0200 Subject: [PATCH] documentation sudo fix --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aa64904..de850d9 100644 --- a/README.md +++ b/README.md @@ -119,13 +119,13 @@ and add Key on your signal-cli-Server to the authorized_keys of the signal-User Create Secrets file for your API Key(s) ``` # for Bitpanda -echo 'local API_TOKEN=YOUR_VERY_LOOOOOOONNNNGGGG_API_TOKEN_FROM_BITPANDA' >dabo/.bitpanda-secrets +echo 'local API_TOKEN=YOUR_VERY_LOOOOOOONNNNGGGG_API_TOKEN_FROM_BITPANDA' | sudo tee dabo/.bitpanda-secrets chmod 400 dabo/.bitpanda-secrets # or for Binance echo 'local API_SECRET="YOUR_LONG_API_SECRET_FROM_BINANCE" -local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE" '>dabo/.binance-secrets -chmod 400 dabo/.binance-secrets +local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE"' | sudo tee dabo/.binance-secrets +sudo chmod 400 dabo/.binance-secrets ``` Create Config @@ -165,7 +165,7 @@ strategies/sell.command-kirk-3.conf ## Set Rights Set Rights (UID 10000 for non-root-User in running container): ``` -chown -R 10000:10000 dabo data home strategies dabo-bot.conf +sudo chown -R 10000:10000 dabo data home strategies dabo-bot.conf ```