diff --git a/README.MD b/README.MD index 9bdd506a..7b83a30a 100644 --- a/README.MD +++ b/README.MD @@ -47,7 +47,7 @@ A: `v-`, 例: `v1.6.7-60` 4. 使用`systemctl start go-openbmclapi.service`启动服务 - 使用`systemctl reload go-openbmclapi.service`可重新加载配置文件 - 使用`systemctl stop go-openbmclapi.service`停止服务 - - 使用`journalctl -f -u go-openbmclapi.service`实时监听日志 + - 使用`journalctl -f --output cat -u go-openbmclapi.service`实时监听日志 ### 从源代码运行 diff --git a/service/installer.sh b/service/installer.sh index 2bc860d9..76a3dab3 100755 --- a/service/installer.sh +++ b/service/installer.sh @@ -93,5 +93,5 @@ echo " Use 'systemctl start go-openbmclapi.service' to start openbmclapi server Use 'systemctl stop go-openbmclapi.service' to stop openbmclapi server Use 'systemctl reload go-openbmclapi.service' to reload openbmclapi server configs - Use 'journalctl -f -u go-openbmclapi.service' to watch the openbmclapi logs + Use 'journalctl -f --output cat -u go-openbmclapi.service' to watch the openbmclapi logs "