diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-14 03:33:35 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-14 03:33:35 -0400 |
commit | ebdea7507537e31bd597cba45769021c12612b35 (patch) | |
tree | be501b231545e9a28b04f5e1343e5f8610d63a43 /network | |
parent | f04868ad409d434eceb3bc434f85e50acf9a5ed6 (diff) |
network/vnstat: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network')
-rw-r--r-- | network/vnstat/README | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/network/vnstat/README b/network/vnstat/README index 8d2164349a09f..98f78918914ef 100644 --- a/network/vnstat/README +++ b/network/vnstat/README @@ -8,16 +8,17 @@ so vnStat can be used without root permissions. This program is open source (GPL) and can be installed in 'single' and 'root' mode. -Note that you can run vnstat either from cron or as a daemon from /etc/rc.d. +Note that you can run vnstat either from cron or as a daemon from +/etc/rc.d. To run vnstat from cron, add the following line to your crontab: 0-55/5 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi To run vnstat from /etc/rc.d: chmod +x /etc/rc.d/rc.vnstat - -Note that to have vnstat start automatically this way it should be called from -rc.local (and optionally rc.local_shutdown) like so: + +Note that to have vnstat start automatically this way it should be +called from rc.local (and optionally rc.local_shutdown) like so: In rc.local: # Start vnstat |