summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2023-06-01 01:23:28 -0400
committerAndrew Cady <d@jerkface.net>2023-06-01 01:23:28 -0400
commitf3d585671b09e36cf8a4e90b5c63ad18526ee8fc (patch)
tree9d56a4af183e983064a33a2b2fe34b18b56b3063 /src
parentfb30ff32e41d5a005d5641f1773783d31f08b5e6 (diff)
fossil http socket listener
Diffstat (limited to 'src')
-rw-r--r--src/fossil-httpd.socket3
-rw-r--r--src/fossil-httpd@.service7
2 files changed, 10 insertions, 0 deletions
diff --git a/src/fossil-httpd.socket b/src/fossil-httpd.socket
new file mode 100644
index 0000000..3575752
--- /dev/null
+++ b/src/fossil-httpd.socket
@@ -0,0 +1,3 @@
1[Socket]
2Accept = yes
3ListenStream = 8079
diff --git a/src/fossil-httpd@.service b/src/fossil-httpd@.service
new file mode 100644
index 0000000..eccc17c
--- /dev/null
+++ b/src/fossil-httpd@.service
@@ -0,0 +1,7 @@
1[Unit]
2Description = Fossil web server, public-facing
3ConditionUser = !root
4
5[Service]
6StandardInput = socket
7ExecStart = fossil http --repolist --nossl --host=localhost:8079 --localauth ${HOME}/src/