Skip to content

Commit

Permalink
Update 2.deploy-connect-dashboard-ent.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Jan 31, 2023
1 parent 6baf537 commit 7048fb3
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ sudo dpkg -r <package_name>
You can use the `dashboard.service` script to start, stop, and check the Dashboard services.

```bash
sudo <dashboard_path>/dashboard/scripts/dashboard.service
sudo <dashboard_path>/scripts/dashboard.service
[-v] [-h]
<start|stop|status> <prometheus|webserver|exporter|gateway|all>
```
Expand All @@ -313,6 +313,7 @@ sudo <dashboard_path>/dashboard/scripts/dashboard.service
| `-v` | Display detailed debugging information. |
| `-h` | Display help information. |
| `start` | Start the target services. |
| `restart` | Restart the target services. |
| `stop` | Stop the target services. |
| `status` | Check the status of the target services. |
| `prometheus` | Set the prometheus Service as the target service. |
Expand All @@ -323,9 +324,7 @@ sudo <dashboard_path>/dashboard/scripts/dashboard.service

!!! note

- For the Dashboard installed by the RPM/DEB package, you need to add the executable permission for `dashboard.service` by running the command `sudo chmod +x dashboard.service`.

- To view the Dashboard version, run the command `./ dashboard.service -version`.
To view the Dashboard version, run the command `./ dashboard.service -version`.

### Examples

Expand Down Expand Up @@ -361,4 +360,4 @@ The descriptions of the log files are as follows.
|`error.log`| Error log. </br>It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |
|`severe.log`| Severe log. </br>It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |
|`slow.log`| Slow log. </br>It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |
|`stat.log`| Statistic log. </br>It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |
|`stat.log`| Statistic log. </br>It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |

0 comments on commit 7048fb3

Please sign in to comment.