overleaf/server-ce/init_scripts/98_check_db_access.sh

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"