From fef2f22ac04e7f33797c5e24888fc53b1bd30593 Mon Sep 17 00:00:00 2001 From: Hiller Liao Date: Thu, 9 Jan 2025 17:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=90=AFDocker?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E7=9A=84=E8=84=9A=E6=9C=AC=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/restart_docker.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 bin/restart_docker.sh diff --git a/bin/restart_docker.sh b/bin/restart_docker.sh deleted file mode 100644 index d63e353..0000000 --- a/bin/restart_docker.sh +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/bash -echo "重启Docker容器名称为: rsshub">>/home/lxf/log/restartdocker.log -docker restart rsshub -echo "重启命令的执行状态:"$?>>/home/lxf/log/restartdocker.log -if [ $? -eq 0 ]; then - echo "执行成功!">> /home/lxf/log/restartdocker.log -else - echo "执行失败!">> //home/lxf/log/restartdocker.log - exit -fi -echo "重启Docker容器: rsshub 完毕!输出日志在/home/lxf/log/restartdocker.log中">> /home/lxf/log/restartdocker.log \ No newline at end of file