overleaf/server-ce/init_scripts/98_check_db_access.sh
Jakob Ackermann d5dd92c034 Merge pull request #6567 from overleaf/jpa-server-ce-pro-layout
[misc] align directory layout of server-ce/pro with production docker images

GitOrigin-RevId: d3e6b9f8793e83df59f86105d511c6fb87c3eea3
2022-02-02 09:03:33 +00:00

8 lines
220 B
Bash
Executable file

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