overleaf/server-ce/docker-image/init_scripts/98_check_db_access.sh
2020-02-17 13:50:21 +01:00

7 lines
178 B
Bash
Executable file

#!/bin/sh
set -e
echo "Checking can connect to mongo and redis"
cd /var/www/sharelatex && grunt check:redis
cd /var/www/sharelatex && grunt check:mongo
echo "All checks passed"