#!/bin/bash

if [ "x$GEXTVIDEO" = "x" ] ; then
  echo "Video extension environment variable GEXTVIDEO not set."
  echo "Have you sourced the extension's setup file, e.g. setup.bash?"
  exit
fi

echo "Starting Lighttpd: $GEXT_VIDEO_SERVER$GEXT_VIDEO_PREFIX"

$GEXTVIDEO_INSTALLED/server/sbin/lighttpd -f $GEXTVIDEO_INSTALLED/server/conf/lighttpd.conf
