From 4f73cd36735c86e4f0d2ef308d768d690b254a2b Mon Sep 17 00:00:00 2001 From: dushixiang Date: Mon, 12 Apr 2021 22:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8E=9F=E7=94=9F=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/install-naive.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/install-naive.md b/docs/install-naive.md index 35c321e..146f7b7 100644 --- a/docs/install-naive.md +++ b/docs/install-naive.md @@ -157,9 +157,9 @@ server: ./next-terminal ``` -使用systemd方式启动 +使用系统服务方式启动 -在 `/etc/systemd/system/` 目录创建文件并写入以下内容 +在 `/etc/systemd/system/` 目录创建 `next-terminal.service` 文件并写入以下内容 ```shell [Unit] Description=next-terminal service @@ -175,9 +175,10 @@ Restart=on-failure WantedBy=multi-user.target ``` -重载系统服务&&设置开机启动&&启动服务 +重载系统服务&&设置开机启动&&启动服务&&查看状态 ```shell systemctl daemon-reload systemctl enable next-terminal systemctl start next-terminal +systemctl staus next-terminal ``` \ No newline at end of file