summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--null0
-rw-r--r--server/gophernicus/configure3
-rw-r--r--server/gophernicus/gophernicus12
-rw-r--r--server/gophernicus/gophernicus.socket9
4 files changed, 24 insertions, 0 deletions
diff --git a/null b/null
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/null
diff --git a/server/gophernicus/configure b/server/gophernicus/configure
new file mode 100644
index 0000000..d18fef5
--- /dev/null
+++ b/server/gophernicus/configure
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo Using release tarball downloaded from GitHub
+./configure --listener=systemd --gopherroot=/srv/gopher
diff --git a/server/gophernicus/gophernicus b/server/gophernicus/gophernicus
new file mode 100644
index 0000000..244a7f4
--- /dev/null
+++ b/server/gophernicus/gophernicus
@@ -0,0 +1,12 @@
+# Options for Gophernicus
+#
+# See README or run "gophernicus -?" to see a full list of
+# configuration options.
+#
+# Example:
+# OPTIONS="-h full.hostname -D \"I find your lack of gopher disturbing.\""
+#
+# modify and set your options here:
+#OPTIONS="-h theia -nv"
+#custom
+OPTIONS="-h liberta.casa -nv -D \"Hello!\" -A \"hello@liberta.casa\""
diff --git a/server/gophernicus/gophernicus.socket b/server/gophernicus/gophernicus.socket
new file mode 100644
index 0000000..f6bcdb2
--- /dev/null
+++ b/server/gophernicus/gophernicus.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gophernicus gopher server
+
+[Socket]
+ListenStream=81.16.19.64:70
+Accept=yes
+
+[Install]
+WantedBy=sockets.target