aboutsummaryrefslogtreecommitdiff
path: root/captain/example
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2021-03-30 11:23:27 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2021-03-30 11:23:27 -0400
commit8da227ca130355332fc92935cfbabc87bd0db078 (patch)
tree8831aad73c70663dbcfca6b34bd0916ef16d6337 /captain/example
parentfbfd194941de48affaa92522ceaff97010abc1c2 (diff)
downloadlevitating-8da227ca130355332fc92935cfbabc87bd0db078.tar.gz
levitating-8da227ca130355332fc92935cfbabc87bd0db078.zip
Storing an example site. Added support for just plain old static files and favicons
Diffstat (limited to 'captain/example')
-rw-r--r--captain/example/levitating.conf20
-rw-r--r--captain/example/levitating.xinetd16
-rw-r--r--captain/example/static/favicon.txt1
3 files changed, 37 insertions, 0 deletions
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 @@
+🎈