summaryrefslogtreecommitdiffstats
path: root/server/gophernicus
diff options
context:
space:
mode:
authorGeorg2021-07-25 04:55:28 +0200
committerGeorg2021-07-25 04:55:28 +0200
commit9300002d6e4309458762711b4c688ad037508a21 (patch)
tree5d3641d80dd027f75fdc510d904e68d416df499c /server/gophernicus
parent48b1b0affce1695d5863a8cfc32385ead160d346 (diff)
downloadgopher-9300002d6e4309458762711b4c688ad037508a21.tar.gz
gopher-9300002d6e4309458762711b4c688ad037508a21.tar.bz2
gopher-9300002d6e4309458762711b4c688ad037508a21.zip
Init and Gophernicus configuration
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'server/gophernicus')
-rw-r--r--server/gophernicus/configure3
-rw-r--r--server/gophernicus/gophernicus12
-rw-r--r--server/gophernicus/gophernicus.socket9
3 files changed, 24 insertions, 0 deletions
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