Add boltbrowser command to manage.sh
This commit is contained in:
parent
80c1a5d107
commit
014e4af09d
@ -6,4 +6,11 @@ case "$1" in
|
|||||||
echo "Running remap command for \`data/remark/var/rules\` for site \"$1\""
|
echo "Running remap command for \`data/remark/var/rules\` for site \"$1\""
|
||||||
docker-compose exec remark remark42 remap --admin-passwd "$(grep -Po '(?<=ADMIN_PASSWD=).*$' .env)" -f var/rules -s "$1"
|
docker-compose exec remark remark42 remap --admin-passwd "$(grep -Po '(?<=ADMIN_PASSWD=).*$' .env)" -f var/rules -s "$1"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
boltbrowser)
|
||||||
|
shift
|
||||||
|
site="$1"
|
||||||
|
shift
|
||||||
|
echo "Running boltbrowser for \`data/remark/var/db/$site.db\`"
|
||||||
|
sudo ~/.local/share/go/bin/boltbrowser $@ "data/remark/var/db/$site.db"
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user