summaryrefslogtreecommitdiff
path: root/net/gofish/files
diff options
context:
space:
mode:
authorminskim <minskim>2005-10-26 03:42:21 +0000
committerminskim <minskim>2005-10-26 03:42:21 +0000
commit4b2ff05328d6bce335a1b5cbf4a9033822badaae (patch)
treebb218b970da484ffb9145062ecffec3f23c7840b /net/gofish/files
parent04f1d811a297fbaa6087ed30d733ff9927388e98 (diff)
downloadpkgsrc-4b2ff05328d6bce335a1b5cbf4a9033822badaae.tar.gz
Import gofish from pkgsrc-wip. Packaged by Emil Skoeldberg.
Gopher server that also acts as http server and gopher to http gateway.
Diffstat (limited to 'net/gofish/files')
-rw-r--r--net/gofish/files/gopherd.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/gofish/files/gopherd.sh b/net/gofish/files/gopherd.sh
new file mode 100644
index 00000000000..c6f17a91690
--- /dev/null
+++ b/net/gofish/files/gopherd.sh
@@ -0,0 +1,21 @@
+#!@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"