about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--DEVELOPEMENT.md8
-rw-r--r--corgi.conf16
2 files changed, 17 insertions, 7 deletions
diff --git a/DEVELOPEMENT.md b/DEVELOPEMENT.md
new file mode 100644
index 0000000..2e1c4c8
--- /dev/null
+++ b/DEVELOPEMENT.md
@@ -0,0 +1,8 @@
+`corgi.conf` has the `skip-worktree` bti set. if you want to commit this file, remove the bit, add it, and re-set the bit.
+```
+# set skip-worktree
+git update-index --skip-worktree corgi.conf
+
+# unset skip-worktree
+git update-index --no-skip-worktree corgi.conf
+```
diff --git a/corgi.conf b/corgi.conf
index ff1a416..8f644f0 100644
--- a/corgi.conf
+++ b/corgi.conf
@@ -1,11 +1,13 @@
 Server
 	Port 26744
+	StatsDb /var/corgi/stats.sqlite
 
-Script module-test
-	Path target/release/libparrot.dylib
-	Type object
+Script stats
+	Path /opt/corgi/corgi-stats
 	Match
-		Regex /object
+		Regex ^/stats
+	Environment
+		CORGI_STATS_DB /var/corgi/stats.sqlite
 
 Script git-backend
 	Path /usr/lib/git-core/git-http-backend
@@ -15,9 +17,9 @@ Script git-backend
 		GIT_HTTP_EXPORT_ALL 1
 		GIT_PROJECT_ROOT /srv/git
 		HOME /srv/git
-		HTTP_HOST git.nyble.dev
+		HTTP_HOST git.dreamy.place
 
 Script cgit
-	Path /usr/lib/cgit/cgit.cgi
+	Path /opt/cgit/cgit
 	Environment
-		HTTP_HOST git.nyble.dev
\ No newline at end of file
+	HTTP_HOST git.dreamy.place
\ No newline at end of file