#!/bin/sh /etc/rc.common
# Copyright (C) httpstorm.com

START=80
STOP=20

SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1

PROG=/usr/sbin/httpstorm
NAME="httpstorm"
PARAM=-d:$NAME

start()
{
	# start service
	$PROG $PARAM
}

restart()
{
	# restart service
	# $PROG $PARAM:r
	# reload service configuration
	$PROG $PARAM:c
}

reload()
{
	# reload service configuration
	$PROG $PARAM:c
}

stop()
{
	# stop service
	$PROG $PARAM:q
}
