summary refs log tree commit diff
path: root/README.7
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-21 18:37:45 -0400
committerJune McEnroe <june@causal.agency>2020-07-21 18:37:45 -0400
commit9cd4bdab846b50c8a41dc1fdd89b789338d7c810 (patch)
tree65214889aa7e9bf3eeb45873819d1860b2af482a /README.7
parentUse a .pc file to configure (diff)
downloadscooper-9cd4bdab846b50c8a41dc1fdd89b789338d7c810.tar.gz
scooper-9cd4bdab846b50c8a41dc1fdd89b789338d7c810.zip
Add OpenBSD instructions
Diffstat (limited to '')
-rw-r--r--README.732
1 files changed, 30 insertions, 2 deletions
diff --git a/README.7 b/README.7
index 1dc7bf9..6f1ecd0 100644
--- a/README.7
+++ b/README.7
@@ -19,6 +19,8 @@ and full-text search.
 .Nm
 targets
 .Fx
+and
+.Ox ,
 and requires
 .Lk "https://kristaps.bsd.lv/kcgi/" kcgi
 and SQLite.
@@ -65,7 +67,7 @@ See
 .Xr scooper 1
 for details.
 .
-.Ss FastCGI & nginx
+.Ss nginx
 Use
 .Xr kfcgi 8
 to run
@@ -77,7 +79,6 @@ kfcgi -u www -s /var/run/scooper.sock \e
 	-U $user -p /home/$user/.local \e
 	-- /bin/scooper /share/litterbox/litterbox.sqlite
 .Ed
-.
 .Pp
 Configure
 .Xr nginx 8
@@ -95,6 +96,33 @@ location /scooper/ {
 }
 .Ed
 .
+.Ss OpenBSD httpd
+Use
+.Xr kfcgi 8
+to run
+.Nm
+as the user who owns
+.Xr litterbox 1 :
+.Bd -literal -offset indent
+kfcgi -u www -s /var/www/run/scooper.sock \e
+	-U $user -p /home/$user/.local \e
+	-- /bin/scooper /share/litterbox/litterbox.sqlite
+.Ed
+.Pp
+Configure
+.Xr httpd 8
+to serve
+.Nm
+at
+.Pa /scooper/ ,
+for example:
+.Bd -literal -offset indent
+location "/scooper/*" {
+	request strip 1
+	fastcgi socket "/run/scooper.sock"
+}
+.Ed
+.
 .Sh FILES
 .Bl -tag -width "default.css" -compact
 .It Pa server.h
17-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroe