7b0288603d
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.
19 lines
408 B
Bash
Executable file
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"
|