overleaf/server-ce/init_scripts/98_check_db_access.sh
2021-07-12 17:25:44 +01:00

8 lines
189 B
Bash
Executable file

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