This commit is contained in:
2026-01-02 00:30:06 -05:00
parent 2ff1ce2c8d
commit 049c427209

View File

@@ -54,14 +54,14 @@ pkg install gitea git nano
sysrc gitea_enable="YES"
```
### 5. Create the Git user
### 5. Create the Gitea user
``` sh
pw useradd gitea -c "Gitea" -d /var/db/gitea -s /usr/sbin/nologin
pw groupadd gitea
```
Create the Gitea required directories
### 6. Create Required Directories
``` sh
mkdir -p /usr/local/etc/gitea
@@ -69,7 +69,7 @@ mkdir -p /var/log/gitea
mkdir -p /var/db/gitea
```
Set proper ownership
### 7. Set proper ownership
``` sh
chown -R gitea:gitea /usr/local/etc/gitea