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://