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