Commit Graph

4 Commits

Author SHA1 Message Date
Jan Hoffmann 9871979707 vnstat2: update to version 2.11
This release breaks the noexit patch, because the code for removing old
now returns an error when no interfaces are configured. As it is run on
startup, the daemon exits in this case. To avoid this, add an additional
check so an error is only returned in an actual error case.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-08-24 11:14:05 +08:00
Jan Hoffmann 4edbd1afe7 vnstat2: update to version 2.10
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-10-23 18:36:45 +02:00
Jan Hoffmann 948f0d29cc vnstat2: update to version 2.9
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-01-25 21:54:48 +01:00
Jan Hoffmann ecae7dedde vnstat2: fix all interfaces being monitored when none are configured
By default, vnstatd adds all available interfaces on startup when its
database is empty. The --noadd option prevents this, but it breaks
import of legacy databases, and causes vnstatd to exit immediately
after startup, which breaks reloading.

This changes the init script to add the --noadd option when no legacy
databases need to be imported, and patches vnstatd to keep running
even when no interfaces are configured.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-10-28 01:31:18 -07:00