Merge pull request #1586 from yaohcn/fix/deploy-node-script
fix deploy node sh
This commit is contained in:
commit
70f21d6ca5
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user