MastodonStartpage/docker/files/update.sh
pezcurrel fe9230d0d2 ...
2020-05-12 10:12:17 +02:00

6 lines
240 B
Bash
Executable file

#!/bin/sh
BASEDIR=$(dirname "$0")
cd "$BASEDIR/MastodonStartpage"
git pull
cd ..
rsync -av --filter "protect mustard/crawler/peers" --filter "protect mustard/sec/mustard.ini" --delete-after MastodonStartpage/web/ /var/www/localhost/htdocs/