#!/bin/bash

if [ "$1" = "start" ]; then
  exec $HTTPD $OPTIONS -DFOREGROUND
elif [[ "$1" = "stop" || "$1" = "graceful" ]]; then
  exec $HTTPD $OPTIONS -k $1
fi
