20 lines
375 B
Bash
Executable file
20 lines
375 B
Bash
Executable file
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: jabberd.sh,v 1.5 2003/09/29 07:22:58 xtraeme Exp $
|
|
#
|
|
|
|
# PROVIDE: jabberd
|
|
# REQUIRE: DAEMON LOGIN
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="jabberd"
|
|
rcvar=$name
|
|
command="@PREFIX@/bin/${name}"
|
|
command_args="-D"
|
|
required_files="@PKG_SYSCONFDIR@/jabberd.cfg"
|
|
jabberd_user="@JABBERD_USER@"
|
|
jabberd_group="@JABBERD_GROUP@"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|