more changes

This commit is contained in:
Grzegorz Surmann 2024-07-17 17:49:43 +00:00
parent 7e5c0db4c7
commit bec51f5ed1

View File

@ -1,29 +1,37 @@
# Installation
1. First, checkout the repository:
```
git clone https://git.funil.de/sinuspl/bgpblist /opt/bgpblist
```
git clone https://git.funil.de/sinuspl/bgpblist /opt/bgpblist
2. Copy the default config to create your own:
```
cp /opt/bgpblist/etc/default/config.ini /opt/bgpblist/etc/config.ini
```
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
3. Edit the config.ini, if you are a customer:
```
vim /opt/bgpblist/etc/config.ini
```
If not, dont't edit, it will use the defaults.
4. Copy the systemd unit file:
cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service
```
cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service
```
5. Reload the systemd:
systemctl daemon-reload
```
systemctl daemon-reload
```
6. Enable the unit:
systemctl enable bgpblacklist.service
```
systemctl enable bgpblacklist.service
```
7. Start the daemon:
systemctl start bgpblacklist.service
```
systemctl start bgpblacklist.service
```