#!/bin/sh
#
# $NetBSD: gopherd.sh,v 1.1.1.1 2005/10/26 03:42:21 minskim Exp $
#
# PROVIDE: gopherd
# REQUIRE: DAEMON

. /etc/rc.subr

name="gofish"
rcvar="$gopherd"
command="/usr/pkg/sbin/$name"
conf_file="/usr/pkg/etc/${name}.conf"
command_args="-d ${conf_file}"
pidfile="/var/run/${name}.pid"
required_files="${conf_file}"

# start_precmd="${name}_precmd"

load_rc_config $name
run_rc_command "$1"
