Introduce the mobilizon_ctl wrapper to easily call tasks inside releases

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-30 15:16:33 +01:00
committed by prichier
parent 01f746a5d2
commit 005470ba5b
4 changed files with 57 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -e
echo "-- Running migrations..."
/bin/mobilizon_ctl migrate
echo "-- Starting!"
exec /bin/mobilizon start