From 56c740b6ab1995626b9193150a3c7c0044daca43 Mon Sep 17 00:00:00 2001 From: Materialistix Date: Wed, 27 Aug 2025 09:22:23 +0200 Subject: [PATCH] Update README.md from systemd deployment --- deployment/systemd/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/systemd/README.md b/deployment/systemd/README.md index ae252ac..088891b 100644 --- a/deployment/systemd/README.md +++ b/deployment/systemd/README.md @@ -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