mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-03 13:02:31 +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>
8 lines
153 B
Bash
Executable file
8 lines
153 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
which node
|
|
which grunt
|
|
ls -al /var/www/sharelatex/migrations
|
|
cd /var/www/sharelatex && grunt migrate -v
|
|
echo "All migrations finished"
|