yannmoelle/update.sh

10 lines
343 B
Bash
Raw Normal View History

2023-04-14 17:05:30 +02:00
#!/bin/bash
2023-05-21 23:38:45 +02:00
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 README.md
docker stop mylinks
docker rm mylinks
2023-05-21 23:39:41 +02:00
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