Skip to content
Commit a212b32c authored by Chad Fraleigh's avatar Chad Fraleigh Committed by Javier Marcet
Browse files

nlbwmon: add init.d shutdown to preserve state on shutdown/reboot


State information since last commit interval is not saved during
shutdown/reboot.

By default the database directory is mounted on a tmpfs filesystem,
but becomes an issue when using a persistent directory.

Added to init.d stop sequence and included sleep to allow dying process
time to write state before filesystems are unmounted.

Signed-off-by: default avatarChad Fraleigh <chadf@triularity.org>
Signed-off-by: default avatarJavier Marcet <javier@marcet.info>
parent 8fd52224
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment