sahana-eden/sahana/image.d/entrypoint.sh

15 lines
205 B
Bash
Raw Normal View History

2022-03-06 10:59:23 +01:00
#!/bin/sh
set -e
if [ "$*" != "" ]; then
exec $@
fi
echo "Starting Sahana Eden..."
# Upgrade database
/usr/local/bin/migrate norestart
# Exec into s6 supervisor
exec /bin/s6-svscan /etc/services.d