fix deploy node sh

This commit is contained in:
yaohcn 2020-04-23 16:48:31 +08:00
parent b761a2994b
commit ecdedd33e2

View File

@ -10,7 +10,7 @@ HOST=$1
# TODO: destroy # TODO: destroy
FILES_TO_SEND=( FILES_TO_SEND=(
./louts ./lotus
./lotus-storage-miner ./lotus-storage-miner
scripts/lotus-daemon.service scripts/lotus-daemon.service
scripts/louts-miner.service scripts/louts-miner.service
@ -26,7 +26,7 @@ systemctl stop lotus-daemon
mkdir -p .lotus .lotusstorage mkdir -p .lotus .lotusstorage
cd "$HOME/lotus-stage/" cd "$HOME/lotus-stage/"
cp -f louts lotus-storage-miner /usr/local/bin cp -f lotus lotus-storage-miner /usr/local/bin
cp -f lotus-daemon.service /etc/systemd/system/lotus-daemon.service cp -f lotus-daemon.service /etc/systemd/system/lotus-daemon.service
cp -f lotus-miner.service /etc/systemd/system/lotus-storage-miner.service cp -f lotus-miner.service /etc/systemd/system/lotus-storage-miner.service