MastodonStartpage/docker/files/update.sh

6 行
238 B
Bash
可執行檔

#!/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/