pkgsrc/net/gofish/files/gopherd.sh
minskim 8af12edfe4 Import gofish from pkgsrc-wip. Packaged by Emil Skoeldberg.
Gopher server that also acts as http server and gopher to http gateway.
2005-10-26 03:42:21 +00:00

21 lines
416 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $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="@PREFIX@/sbin/$name"
conf_file="@PKG_SYSCONFDIR@/${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"