documentation sudo fix

This commit is contained in:
olli 2023-07-04 16:48:14 +02:00
parent ec3376f670
commit f0e08d2733

View File

@ -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) Create Secrets file for your API Key(s)
``` ```
# for Bitpanda # 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 chmod 400 dabo/.bitpanda-secrets
# or for Binance # or for Binance
echo 'local API_SECRET="YOUR_LONG_API_SECRET_FROM_BINANCE" echo 'local API_SECRET="YOUR_LONG_API_SECRET_FROM_BINANCE"
local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE" '>dabo/.binance-secrets local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE"' | sudo tee dabo/.binance-secrets
chmod 400 dabo/.binance-secrets sudo chmod 400 dabo/.binance-secrets
``` ```
Create Config Create Config
@ -165,7 +165,7 @@ strategies/sell.command-kirk-3.conf
## Set Rights ## Set Rights
Set Rights (UID 10000 for non-root-User in running container): 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
``` ```