mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-03 00:41:35 +00:00
3170a27fb5
* [init] bail out in case the db access fails Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] bail out in case any command in an init_script failed NOTE: sh does not support `-o pipefail`. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
7 lines
178 B
Bash
Executable file
7 lines
178 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
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"
|