From 7048fb37998ffddda8a76b26320dad85dddf8143 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 31 Jan 2023 15:44:08 +0800 Subject: [PATCH] Update 2.deploy-connect-dashboard-ent.md --- .../2.deploy-connect-dashboard-ent.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md b/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md index 2459b38e855..21ca8cb353b 100644 --- a/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md +++ b/docs-2.0/nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md @@ -302,7 +302,7 @@ sudo dpkg -r You can use the `dashboard.service` script to start, stop, and check the Dashboard services. ```bash -sudo /dashboard/scripts/dashboard.service +sudo /scripts/dashboard.service [-v] [-h] ``` @@ -313,6 +313,7 @@ sudo /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. | @@ -323,9 +324,7 @@ sudo /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 @@ -361,4 +360,4 @@ The descriptions of the log files are as follows. |`error.log`| Error log.
It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. | |`severe.log`| Severe log.
It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. | |`slow.log`| Slow log.
It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. | -|`stat.log`| Statistic log.
It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. | \ No newline at end of file +|`stat.log`| Statistic log.
It takes effect only when the `Log.Mode` in the Dashboard configuration is `file`. |