diff options
author | minskim <minskim> | 2005-10-26 03:42:21 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-10-26 03:42:21 +0000 |
commit | 4b2ff05328d6bce335a1b5cbf4a9033822badaae (patch) | |
tree | bb218b970da484ffb9145062ecffec3f23c7840b /net/gofish/files | |
parent | 04f1d811a297fbaa6087ed30d733ff9927388e98 (diff) | |
download | pkgsrc-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.sh | 21 |
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" |