diff --git a/INSTALL.md b/INSTALL.md index 8eb69cf..fc29b66 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,3 +1,27 @@ -First, checkout the repository: +1. First, checkout the repository: git clone https://git.funil.de/sinuspl/bgpblist /opt/bgpblist + +2. Run it once, it will create config: + + /opt/bgpblist/sbin/bgpblacklistd + +3. Edit the config.ini, if you have are a customer: + + vim /opt/bgpblist/etc/config.ini + +4. Copy the systemd unit file: + + cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service + +5. Reload the systemd: + + systemctl daemon-reload + +6. Enable the unit: + + systemctl enable bgpblacklist.service + +7. Start the daemon: + + systemctl start bgpblacklist.service