diff options
author | Andrew Cady <d@jerkface.net> | 2023-06-01 01:23:28 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2023-06-01 01:23:28 -0400 |
commit | f3d585671b09e36cf8a4e90b5c63ad18526ee8fc (patch) | |
tree | 9d56a4af183e983064a33a2b2fe34b18b56b3063 /src | |
parent | fb30ff32e41d5a005d5641f1773783d31f08b5e6 (diff) |
fossil http socket listener
Diffstat (limited to 'src')
-rw-r--r-- | src/fossil-httpd.socket | 3 | ||||
-rw-r--r-- | src/fossil-httpd@.service | 7 |
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] | ||
2 | Accept = yes | ||
3 | ListenStream = 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] | ||
2 | Description = Fossil web server, public-facing | ||
3 | ConditionUser = !root | ||
4 | |||
5 | [Service] | ||
6 | StandardInput = socket | ||
7 | ExecStart = fossil http --repolist --nossl --host=localhost:8079 --localauth ${HOME}/src/ | ||