Skip to content

Commit

Permalink
Reform
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Dec 26, 2024
1 parent 89ca338 commit ee5bb4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/setup
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ mkdir -p \
OVERRIDE=/etc/systemd/system/ord.service.d/override.conf

echo '[Service]' > $OVERRIDE
echo "Environment=CHAIN=$CHAIN" > $OVERRIDE
echo "Environment=CSP_ORIGIN=$CSP_ORIGIN" > $OVERRIDE
echo "Environment=CHAIN=$CHAIN" >> $OVERRIDE
echo "Environment=CSP_ORIGIN=$CSP_ORIGIN" >> $OVERRIDE

if [[ $CHAIN == main ]]; then
echo Environment=ORD_SERVER_DISABLE_JSON_API=true > $OVERRIDE
echo Environment=ORD_SERVER_DISABLE_JSON_API=true >> $OVERRIDE
fi

cp $override /etc/systemd/system/bitcoind.service.d/override.conf
cp $OVERRIDE /etc/systemd/system/bitcoind.service.d/override.conf

sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
sshd -t
Expand Down

0 comments on commit ee5bb4a

Please sign in to comment.