mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 22:29:01 +02: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>
8 lines
178 B
Bash
Executable File
8 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"
|