From 1fffebacb107feb2ab4feeb6cd1ff0bb758c5d21 Mon Sep 17 00:00:00 2001 From: bdaylik Date: Mon, 25 Mar 2024 14:10:39 +0300 Subject: [PATCH] update vnstat_backup service to start before and end after the vnstat service Currently vnstat_backup service runs after vnstat runs and overwrites newly initialized database of vnstat causing it to crash and restart. Moving vnstat_backup service before vnstat lets it create the database before vnstat runs. This allows an error free operation. --- openmptcprouter/files/etc/init.d/vnstat_backup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openmptcprouter/files/etc/init.d/vnstat_backup b/openmptcprouter/files/etc/init.d/vnstat_backup index 37e2b4ebf..1434285d3 100755 --- a/openmptcprouter/files/etc/init.d/vnstat_backup +++ b/openmptcprouter/files/etc/init.d/vnstat_backup @@ -6,8 +6,8 @@ EXTRA_HELP=<