From d7711703f062f482b6ba99f122a789c709072265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Fri, 26 May 2023 21:30:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eupdate.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/update.sh b/update.sh index 9e4f608..6847f9a 100644 --- a/update.sh +++ b/update.sh @@ -1,10 +1,10 @@ #!/bin/bash cd /root/ -rm -rf /root/links/mylinks -mkdir /root/links/mylinks -cd /root/links/mylinks/ -git clone ssh://git@ssh.git.moelle.space:2222/hxcde/mylinks.git . +rm -rf /root/links/yannmoelle +mkdir /root/links/yannmoelle +cd /root/links/yannmoelle/ +git clone ssh://git@ssh.git.moelle.space:2222/hxcde/yannmoelle.git . rm README.md -docker stop mylinks -docker rm mylinks -docker run -d --restart=always --name mylinks -p 127.0.0.1:8085:80 -v /root/links/mylinks/:/usr/local/apache2/htdocs/ httpd:2.4 \ No newline at end of file +docker stop yannmoelle +docker rm yannmoelle +docker run -d --restart=always --name mylinks -p :8085:80 -v /root/links/yannmoelle/:/usr/local/apache2/htdocs/ httpd:2.4 \ No newline at end of file