mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
* [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>
9 lines
153 B
Bash
Executable File
9 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"
|