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

6 lines
170 B
Bash
Raw Normal View History

2016-09-21 17:10:27 +00:00
#!/bin/sh
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"