overleaf/init_scripts/98_check_db_access.sh
2021-07-13 17:03:14 +01:00

8 lines
187 B
Bash
Executable file

#!/bin/sh
set -e
echo "Checking can connect to mongo and redis"
cd /var/www/sharelatex/web/modules/server-ce-scripts/scripts
node check-mongodb
node check-redis
echo "All checks passed"