From 9300002d6e4309458762711b4c688ad037508a21 Mon Sep 17 00:00:00 2001 From: Georg Date: Sun, 25 Jul 2021 04:55:28 +0200 Subject: [PATCH] Init and Gophernicus configuration Signed-off-by: Georg --- null | 0 server/gophernicus/configure | 3 +++ server/gophernicus/gophernicus | 12 ++++++++++++ server/gophernicus/gophernicus.socket | 9 +++++++++ 4 files changed, 24 insertions(+) create mode 100644 null create mode 100644 server/gophernicus/configure create mode 100644 server/gophernicus/gophernicus create mode 100644 server/gophernicus/gophernicus.socket diff --git a/null b/null new file mode 100644 index 0000000..e69de29 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