openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.97k stars 3.46k forks source link

Disabling and stopping vnstat does not disable and stop vnstat #14547

Open BlessDeix92 opened 3 years ago

BlessDeix92 commented 3 years ago

Package: vnstat Version: 1.18-2 Maintainer: Jo-Philipp Wich Environment: 19.07.6 r11278-8055e38794

Description:

Doing a "/etc/init.d/vnstat disable ; /etc/init.d/vnstat stop" fails to stop and disable vnstat. procd just restarts it again as evidenced by logread.

Note that procd does this silently, without any message having been logged, which is unhelpful. vnstat itself logs a message that it has been started again.

The user Wiki is unhelpful on this matter: https://openwrt.org/docs/guide-user/services/network_monitoring/vnstat

pesa1234 commented 6 months ago

/etc/init.d/vnstat stop --> daemon.info vnstatd[29444]: Info: SIGTERM received, exiting.

/etc/init.d/vnstat disable --> removed from /etc/rc.d/vnstat

So, I didn't see your error