„update.sh“ ändern
This commit is contained in:
parent
519c3147df
commit
e250c29d93
13
update.sh
13
update.sh
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm -rf /var/www/html/mylinks
|
cd /root/
|
||||||
cd /var/www/html/
|
rm -rf /root/links/mylinks
|
||||||
git clone https://git.moelle.space/hxcde/mylinks.git
|
mkdir /root/links/mylinks
|
||||||
rm mylinks/README.md
|
cd /root/links/mylinks/
|
||||||
|
git clone ssh://git@ssh.git.moelle.space:2222/hxcde/mylinks.git .
|
||||||
|
rm README.md
|
||||||
|
docker stop mylinks
|
||||||
|
docker rm mylinks
|
||||||
|
docker run -d --restart=always --name latexrobot -p 127.0.0.1:8085:80 -v /root/links/mylinks/:/usr/local/apache2/htdocs/ httpd:2.4
|
Loading…
Reference in New Issue
Block a user