FreeBSD
This commit is contained in:
@@ -41,20 +41,20 @@ bastille start gitea
|
||||
bastille console gitea
|
||||
```
|
||||
|
||||
Inside the jail, install Gitea and its dependencies
|
||||
### 4. Install Gitea and its Dependencies
|
||||
|
||||
``` sh
|
||||
pkg update
|
||||
pkg install gitea git nano
|
||||
```
|
||||
|
||||
Enable Gitea to start on boot
|
||||
### 4. Enable Gitea to start on boot
|
||||
|
||||
``` sh
|
||||
sysrc gitea_enable="YES"
|
||||
```
|
||||
|
||||
Create gitea user and group
|
||||
### 5. Create the Git user
|
||||
|
||||
``` sh
|
||||
pw useradd gitea -c "Gitea" -d /var/db/gitea -s /usr/sbin/nologin
|
||||
|
||||
Reference in New Issue
Block a user