diff --git a/Artela.sh b/Artela.sh index ce163f0..f7704a8 100644 --- a/Artela.sh +++ b/Artela.sh @@ -106,9 +106,7 @@ function install_node() { sed -i 's|^seeds *=.*|seeds = "'$SEEDS'"|; s|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.artelad/config/config.toml # 使用 PM2 启动节点进程 - pm2 start /root/go/bin/artelad --name artela-node -- start --watch - pm2 save - pm2 startup systemd + pm2 start artelad -- start && pm2 save && pm2 startup echo '====================== 安装完成 ===========================' echo '安装完成请重新连接VPS,以启用对应快捷键功能'