Ist eine Freebsd-Jail auf [[Server/storage]] und macht unseren storage über das Gopherprotokoll erreichbar.

Protokollsupport kann in Firefox über die Extension [https://addons.mozilla.org/en-US/firefox/addon/overbiteff/?src=search Overbiteff] nach installiert werden oder über curl:

<pre>
curl gopher://gogopherd.hq.c3d2.de
</pre>

Dienst starten:

<pre>
$ /usr/local/etc/gogopherd start
</pre>

Konfiguration:
<pre>
cat /usr/local/etc/gogopherd
#!/bin/sh

# PROVIDE: gogopherd
# REQUIRE: ipfilter FILESYSTEMS sysctl netif
# BEFORE:  DEAMON
# KEYWORD: nojail

. /etc/rc.subr

name=gogopherd
rcvar=gogopherd_enable

gogopherd_bin="/usr/local/bin/gogopherd"
gogopherd_args="-footer 'served by gogopherd: https://github.com/Mic92/gogopherd' -header 'Welcome dn42 to the gopherspace of the hackerspace c3d2' -address g
gopherd.hq.c3d2.de -host gogopherd.hq.c3d2.de -address :: /storage/"
gogopherd_chdir=/

command="/usr/sbin/daemon"
command_args="-f ${gogopherd_bin} ${gogopherd_args}"

load_rc_config "$name"
run_rc_command "$1"
</pre>

Sourcecode:

[https://github.com/Mic92/gogopherd https://github.com/Mic92/gogopherd]

Vom Quellcode bauen:

1. go compiler installieren

2. $ go get github.com/Mic92/gogopherd

== Administriert ==

Mic92
