#!/bin/sh

WEBROOT=/var/www/auralis
[ -f /etc/auralis/conf ] && . /etc/auralis/conf
[ -f /etc/profile.d/auralis.sh ] && . /etc/profile.d/auralis.sh

# use exec to make commands manageable by supervisor. (http://serverfault.com/a/397970)
exec php $WEBROOT/app/console "$@"
