mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 01:52:49 +00:00
added check db init script
This commit is contained in:
parent
046faae590
commit
22a3225e70
1 changed files with 5 additions and 0 deletions
5
server-ce/init_scripts/98_check_db_access.sh
Executable file
5
server-ce/init_scripts/98_check_db_access.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/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"
|
Loading…
Reference in a new issue