From 94c16fbaa6c39b18d5e7f27c535f1a8934c093d5 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 11 Aug 2020 00:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E2=98=80=EF=B8=8F=20=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20Docker=20=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/docker-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/docker-run.sh b/utils/docker-run.sh index 01e785e..67ad8ea 100644 --- a/utils/docker-run.sh +++ b/utils/docker-run.sh @@ -82,7 +82,7 @@ login() { systemctl_reload(){ echo "正在写入系统进程守护 . . ." - sudo -i + sudo -i>> /dev/null 2>&1 echo "[Unit] Description=PagerMaid-Modify telegram utility daemon After=network.target @@ -97,7 +97,7 @@ systemctl_reload(){ chmod 755 pagermaid.service >> /dev/null 2>&1 systemctl daemon-reload >> /dev/null 2>&1 systemctl enable pagermaid >> /dev/null 2>&1 - su pagermaid + su pagermaid >> /dev/null 2>&1 echo "" echo "请在脚本退出后输入 exit 退出 Docker" echo ""