From 0758f5a0ac8c80ea1c8bc6afe1ce7c08aedbe57a Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 2 Jan 2026 00:17:33 -0500 Subject: [PATCH] FreeBSD --- freebsd/20_bastille.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/freebsd/20_bastille.md b/freebsd/20_bastille.md index 9d9c82b..b12907e 100644 --- a/freebsd/20_bastille.md +++ b/freebsd/20_bastille.md @@ -37,3 +37,32 @@ Inside the jail, install Gitea and its dependencies pkg update pkg install gitea git nano ``` + +Enable Gitea to start on boot + +``` sh +sysrc gitea_enable="YES" +``` + +Create the Gitea configuration directory + +``` sh +mkdir -p /usr/local/etc/gitea +``` + +Start Gitea for the first time + +``` sh +service gitea start +``` + +Exit the container + +``` sh +exit +``` + +From your host system or another machine on the network, access Gitea's web interface: + +``` text +http://