overleaf/server-ce/init_scripts/500_check_db_access.sh
Jakob Ackermann 12befda220 Merge pull request #16919 from overleaf/jpa-check-env-vars
[server-ce] add script for checking on old ShareLaTeX env vars

GitOrigin-RevId: a60d6f7648d65c336054795affe91a349aa629cf
2024-02-12 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"