Browse Source

更新 'README.md'

gogs 1 year ago
parent
commit
ccaeae5b74
1 changed files with 9 additions and 0 deletions
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -66,4 +66,13 @@ volumes:
 trigger:
 trigger:
   branch:
   branch:
   - master
   - master
+```
+
+启动部署脚本
+
+```bash
+#!/bin/bash
+ps -ef | grep 'python3 main.py' | grep -v grep | awk '{print $2}' | xargs kill -9
+nohup python3 main.py >/dev/null 2>& 1 &
+echo success
 ```
 ```