mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-11 13:47:05 +02:00
Update README.md from systemd deployment
This commit is contained in:
@@ -26,7 +26,7 @@ Clone the repository to `/opt/fail2ban-ui`:
|
||||
```bash
|
||||
sudo git clone https://github.com/swissmakers/fail2ban-ui.git /opt/fail2ban-ui
|
||||
cd /opt/fail2ban-ui
|
||||
sudo go build -o fail2ban-ui ./cmd/main.go
|
||||
sudo go build -o fail2ban-ui ./cmd/server/main.go
|
||||
```
|
||||
|
||||
### Create the fail2ban-ui.service
|
||||
@@ -39,6 +39,7 @@ After=network.target fail2ban.service
|
||||
Requires=fail2ban.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/fail2ban-ui
|
||||
ExecStart=/opt/fail2ban-ui/fail2ban-ui
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user