more changes
This commit is contained in:
parent
7e5c0db4c7
commit
bec51f5ed1
28
INSTALL.md
28
INSTALL.md
@ -1,29 +1,37 @@
|
||||
# Installation
|
||||
|
||||
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:
|
||||
2. Copy the default config to create your own:
|
||||
```
|
||||
cp /opt/bgpblist/etc/default/config.ini /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
|
||||
```
|
||||
|
||||
5. Reload the systemd:
|
||||
|
||||
```
|
||||
systemctl daemon-reload
|
||||
```
|
||||
|
||||
6. Enable the unit:
|
||||
|
||||
```
|
||||
systemctl enable bgpblacklist.service
|
||||
```
|
||||
|
||||
7. Start the daemon:
|
||||
|
||||
```
|
||||
systemctl start bgpblacklist.service
|
||||
```
|
Loading…
Reference in New Issue
Block a user