Explorar el Código

added check db init script

ShareLaTeX hace 10 años
padre
commit
22a3225e70
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      server-ce/init_scripts/98_check_db_access.sh

+ 5 - 0
server-ce/init_scripts/98_check_db_access.sh

@@ -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"