Build binary only when missing
Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
说明:
|
||||
|
||||
- `start` 会自动执行 `go build -o honoka-chan main.go`,然后以 `nohup` 后台运行。
|
||||
- `start` 会以 `nohup` 后台运行 `honoka-chan`,如果可执行文件不存在则自动执行 `go build -o honoka-chan main.go`。
|
||||
- PID 文件:`temp/run/honoka-chan.pid`
|
||||
- 日志文件:`temp/run/honoka-chan.log`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user