From 8da227ca130355332fc92935cfbabc87bd0db078 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Tue, 30 Mar 2021 11:23:27 -0400 Subject: Storing an example site. Added support for just plain old static files and favicons --- captain/example/levitating.conf | 20 ++++++++++++++++++++ captain/example/levitating.xinetd | 16 ++++++++++++++++ captain/example/static/favicon.txt | 1 + 3 files changed, 37 insertions(+) create mode 100644 captain/example/levitating.conf create mode 100644 captain/example/levitating.xinetd create mode 100644 captain/example/static/favicon.txt (limited to 'captain/example') diff --git a/captain/example/levitating.conf b/captain/example/levitating.conf new file mode 100644 index 0000000..a43ea8d --- /dev/null +++ b/captain/example/levitating.conf @@ -0,0 +1,20 @@ + +template-directory = /home/jeff/Workspace/levitating/captain/templates + +database = /home/jeff/Workspace/levitating/captain/example/store.db + +log-filename = /tmp/levitating.log + +project = misc-build + +description = A builder for stuff + +public-cert = /home/jeff/Workspace/levitating/captain/example/pub.crt + +private-cert = /home/jeff/Workspace/levitating/captain/example/priv.key + +uploads-directory = /home/jeff/Workspace/levitating/captain/example/uploads + +results-directory = /home/jeff/Workspace/levitating/captain/example/results + +static-directory = /home/jeff/Workspace/levitating/captain/example/static diff --git a/captain/example/levitating.xinetd b/captain/example/levitating.xinetd new file mode 100644 index 0000000..3c78286 --- /dev/null +++ b/captain/example/levitating.xinetd @@ -0,0 +1,16 @@ +# default: off +# description: An internal xinetd service, listing active services. + +service gemini +{ + type = UNLISTED + port = 1965 + socket_type = stream + protocol = tcp + wait = no + user = jeff + disable = no + only_from = 127.0.0.1 + server = /home/jeff/Workspace/levitating/captain/levitating-captain + server_args = -g -c /home/jeff/Workspace/levitating/captain/example/levitating.conf +} diff --git a/captain/example/static/favicon.txt b/captain/example/static/favicon.txt new file mode 100644 index 0000000..0c5326b --- /dev/null +++ b/captain/example/static/favicon.txt @@ -0,0 +1 @@ +🎈 -- cgit v1.2.3