diff --git a/freebsd/20_bastille.md b/freebsd/20_bastille.md index 77ccd02..f7b6f8e 100644 --- a/freebsd/20_bastille.md +++ b/freebsd/20_bastille.md @@ -44,6 +44,13 @@ Enable Gitea to start on boot sysrc gitea_enable="YES" ``` +Create gitea user and group + +``` sh +pw useradd gitea -c "Gitea" -d /var/db/gitea -s /usr/sbin/nologin +pw groupadd gitea +``` + Create the Gitea required directories ``` sh