#!/bin/sh
#
# $NetBSD: stompserver.sh,v 1.1 2012/08/12 16:13:03 imil Exp $
#
# PROVIDE: stompserver
# REQUIRE: DAEMON

. /etc/rc.subr

name="stompserver"
rcvar=${name}
command="/usr/pkg/bin/stompserver"
required_files="/var/lib/stompserver/etc/stompserver.conf"
pidfile="/var/lib/stompserver/pid/stompserver.pid"
command_args="-C /var/lib/stompserver/etc/stompserver.conf"
procname="/usr/pkg/bin/ruby33"

load_rc_config $name
run_rc_command "$1"
