feat: 补充部署相关脚本

This commit is contained in:
https://blog.iamtsm.cn
2023-08-05 16:15:40 +08:00
parent 0c809c83bd
commit fdca7e00da
15 changed files with 46 additions and 1 deletions

9
bin/linux/auto-start-server.sh Executable file
View File

@@ -0,0 +1,9 @@
pm2 start npm --name=tl-rtc-file-api-server -- run sapi
sleep 1
pm2 start npm --name=tl-rtc-file-socket-server -- run ssocket
sleep 1
npm run build:pro