mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-26 17:51:48 +01:00
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev
This commit is contained in:
commit
12c56c38fa
@ -178,6 +178,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
if [ "$(cat ${CLCONF} | grep -c "^rpc-file-mode=0660")" -eq 0 ]; then
|
||||
echo "rpc-file-mode=0660" | tee -a ${CLCONF}
|
||||
fi
|
||||
/usr/sbin/usermod --append --groups bitcoin blitzapi
|
||||
|
||||
cd /home/blitzapi || exit 1
|
||||
# git clone https://github.com/fusion44/blitz_api.git /home/blitzapi/blitz_api
|
||||
|
@ -95,7 +95,10 @@ set -e
|
||||
export NODE_OPTIONS="--no-deprecation"
|
||||
|
||||
# load config
|
||||
set -a; source /mnt/hdd/app-data/stacking-sats-kraken/.env; set +a
|
||||
env="/mnt/hdd/app-data/stacking-sats-kraken/.env"
|
||||
set -a; . ${env}; set +a
|
||||
# alternative config
|
||||
test -f "${env}-"${2} && { set -a; . "${env}-"${2}; set +a; }
|
||||
|
||||
# switch directory
|
||||
cd $(cd `dirname $0` && pwd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user