mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-09-27 06:31:39 +02:00
Fix paths in install guide
This commit is contained in:
parent
467f5249a8
commit
dd8b00703a
@ -21,7 +21,7 @@ Start the client process in another console:
|
|||||||
|
|
||||||
To enable fastnetmon to start on server startup, please add the following line to /etc/rc.local:
|
To enable fastnetmon to start on server startup, please add the following line to /etc/rc.local:
|
||||||
```bash
|
```bash
|
||||||
screen -S fastnetmon -d -m /opt/fastnetmon/fastnetmon
|
/opt/fastnetmon/fastnetmon --daemonize
|
||||||
```
|
```
|
||||||
If something goes wrong, please check logs:
|
If something goes wrong, please check logs:
|
||||||
```bash
|
```bash
|
||||||
@ -36,7 +36,7 @@ The first time when threshold exceed (at this step we know IP, direction and pow
|
|||||||
|
|
||||||
A sample script is provided and can be installed as follows:
|
A sample script is provided and can be installed as follows:
|
||||||
```bash
|
```bash
|
||||||
cp /usr/src/fastnetmon/notify_about_attack.sh /usr/local/bin/notify_about_attack.sh
|
cp /usr/src/fastnetmon/src/notify_about_attack.sh /usr/local/bin/notify_about_attack.sh
|
||||||
chmod 755 /usr/local/bin/notify_about_attack.sh
|
chmod 755 /usr/local/bin/notify_about_attack.sh
|
||||||
```
|
```
|
||||||
After copying the file, you need to open it and configure the 'email_notify' option as required.
|
After copying the file, you need to open it and configure the 'email_notify' option as required.
|
||||||
|
Loading…
Reference in New Issue
Block a user