docs: 更新服务管理命令(区分测试/正式环境)
This commit is contained in:
parent
7a04f6da53
commit
4515021f37
@ -310,11 +310,13 @@ systemctl restart nginx
|
||||
|
||||
```bash
|
||||
# 查看服务状态
|
||||
systemctl status pms-api
|
||||
systemctl status pms-api-test # 测试环境API
|
||||
systemctl status pms-api-prod # 正式环境API
|
||||
systemctl status nginx
|
||||
|
||||
# 查看日志
|
||||
journalctl -u pms-api -f
|
||||
journalctl -u pms-api-test -f
|
||||
journalctl -u pms-api-prod -f
|
||||
tail -f /var/log/nginx/error.log
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user