mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #16919 from overleaf/jpa-check-env-vars
[server-ce] add script for checking on old ShareLaTeX env vars GitOrigin-RevId: a60d6f7648d65c336054795affe91a349aa629cf
This commit is contained in:
8
server-ce/init_scripts/500_check_db_access.sh
Executable file
8
server-ce/init_scripts/500_check_db_access.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user