pkgsrc/net/ruby-stompserver/files/stompserver.sh
imil 7b0288603d Initial import of ruby-stompserver, version 0.9.9, into the NetBSD Packages
Collection.

Stompserver handles basic message queue processing.

It is Stomp messaging server with file/dbm/memory/activerecord based FIFO
queues, queue monitoring, and basic authentication.
2012-08-12 16:13:02 +00:00

19 lines
408 B
Bash
Executable file

#!/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="@PREFIX@/bin/stompserver"
required_files="@STOMPSERVER_RCD_CFG@/stompserver.conf"
pidfile="@STOMPSERVER_RCD_PID@"
command_args="-C @STOMPSERVER_RCD_CFG@/stompserver.conf"
procname="@RUBY@"
load_rc_config $name
run_rc_command "$1"