Added systemd reload command to apply changes
This commit is contained in:
parent
4790c728eb
commit
30ced722c4
|
@ -250,6 +250,9 @@ sub main {
|
|||
system("sed -i 's/sflow = on/sflow = off/' /etc/fastnetmon.conf");
|
||||
system("sed -i 's/netflow = on/netflow = off/' /etc/fastnetmon.conf");
|
||||
|
||||
# Apply changes
|
||||
system("systemctl restart fastnetmon");
|
||||
|
||||
print "FastNetMon was installed and started correctly\n";
|
||||
print "You can find configuration file at /etc/fastnetmon.conf\n";
|
||||
print "You can restart FastNetMon this way: systemctl restart fastnetmon\n";
|
||||
|
|
Loading…
Reference in New Issue