aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-04 17:09:18 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:33:36 -0700
commit40b15bf88308ef75449d69301bf895f1d6a7e001 (patch)
treeb4b68964ba4522a01072b47592b91302a0f0780f
parentFix formatting and title of readme (diff)
downloadsite-server-images-40b15bf88308ef75449d69301bf895f1d6a7e001.zip
Fix git data directory in disk layout
OpenBSD chroots it's httpd service into /var/www. This means it can't access anything outside of /var/www and we need the git data to be inside of /var/www to be able to serve that data to the web.
-rw-r--r--openbsd-image/disk-layouts/cgit.disklabel20
1 files changed, 10 insertions, 10 deletions
diff --git a/openbsd-image/disk-layouts/cgit.disklabel b/openbsd-image/disk-layouts/cgit.disklabel
index b02585b..6d79f51 100644
--- a/openbsd-image/disk-layouts/cgit.disklabel
+++ b/openbsd-image/disk-layouts/cgit.disklabel
@@ -1,10 +1,10 @@
-/ 200M-1G 10%
-swap 1G-2G 0%
-/tmp 256M 0%
-/var 1G-3G 10%
-/var/log 200M-1G 0%
-/var/www 200M-5G 15%
-/usr 1G-4G 10%
-/usr/local 200M-4G 5%
-/home 100M-500M 0%
-/var/git 1G-* 50%
+/ 200M-1G 10%
+swap 1G-2G 0%
+/tmp 256M 0%
+/var 1G-3G 10%
+/var/log 200M-1G 0%
+/var/www 200M-5G 15%
+/usr 1G-4G 10%
+/usr/local 200M-4G 5%
+/home 100M-500M 0%
+/var/www/git 1G-* 50%