From a47cdc9a008ce6298ac788f613787e65e8aa8afd Mon Sep 17 00:00:00 2001 From: bjdgyc Date: Thu, 26 Aug 2021 14:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 64d3e70..b61f07c 100644 --- a/README.md +++ b/README.md @@ -182,20 +182,20 @@ sh bridge-init.sh ## Systemd -添加 systemd 脚本 +1. 添加 anylink 程序 -- anylink 程序目录放入 `/usr/local/anylink-deploy` + - anylink 程序目录放入 `/usr/local/anylink-deploy` -systemd 脚本放入: +2. systemd/anylink.service 脚本放入: -- centos: `/usr/lib/systemd/system/` -- ubuntu: `/lib/systemd/system/` + - centos: `/usr/lib/systemd/system/` + - ubuntu: `/lib/systemd/system/` -操作命令: +3. 操作命令: -- 启动: `systemctl start anylink` -- 停止: `systemctl stop anylink` -- 开机自启: `systemctl enable anylink` + - 启动: `systemctl start anylink` + - 停止: `systemctl stop anylink` + - 开机自启: `systemctl enable anylink` ## Docker