diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-05-26 12:42:16 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-05-26 12:42:16 +1200 |
commit | c956f1a3648a89979f7815426ca1370f8939caf6 (patch) | |
tree | 1a941187cc079ac8f06d93c547eb1cac44d2cde7 | |
parent | Clarify a little what it does (diff) | |
download | nwatch-c956f1a3648a89979f7815426ca1370f8939caf6.tar.gz nwatch-c956f1a3648a89979f7815426ca1370f8939caf6.zip |
Correct a few documentation paths
-rw-r--r-- | README.markdown | 4 | ||||
-rwxr-xr-x | bin/nwatch | 3 | ||||
-rw-r--r-- | share/man/man1/nwatch.1 | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/README.markdown b/README.markdown index 1ec172f..b9d4dce 100644 --- a/README.markdown +++ b/README.markdown @@ -11,12 +11,12 @@ Usage: Example with root privileges: - # nwatch /etc/nwatch.mynet /var/cachedir/nwatch/mynet + # nwatch /etc/nwatch.mynet /var/cache/nwatch/mynet Prints the results of an `ndiff(1)` call against the last known scan to stdout; intended to be called from `cron(8)`: - 0 0 * * 0 nwatch /etc/nwatch.mynet /var/log/nwatch/mynet + 0 0 * * 0 nwatch /etc/nwatch.mynet /var/cache/nwatch/mynet I recommend you use [croncrypt](https://github.com/tejr/croncrypt), so you don't leak your network information in plain text in your email. @@ -7,10 +7,11 @@ # Usage: # $ nwatch HOSTLIST CACHEDIR # Example with root privileges: -# # nwatch /etc/nwatch.mynet /var/cachedir/nwatch/mynet +# # nwatch /etc/nwatch.mynet /var/cache/nwatch/mynet # # Prints the results of an ndiff(1) call against the last known scan to stdout; # intended to be called from cron(8): +# 0 0 * * 0 nwatch /etc/nwatch.mynet /var/cache/nwatch/mynet # # I recommend you use croncrypt, so you don't leak your network information in # plain text in your email: <https://github.com/tejr/croncrypt> diff --git a/share/man/man1/nwatch.1 b/share/man/man1/nwatch.1 index 90b60f8..4481b44 100644 --- a/share/man/man1/nwatch.1 +++ b/share/man/man1/nwatch.1 @@ -9,7 +9,7 @@ .SH SYNOPSIS .B nwatch /etc/nwatch.mynet -/var/cachedir/nwatch/mynet +/var/cache/nwatch/mynet .SH DESCRIPTION .B nwatch reads a list of hosts from @@ -21,7 +21,7 @@ and then runs ndiff(1) between the last scan it can find and the current scan, storing the output in CACHEDIR and printing it to stdout. This makes it useful for running from cron(8): .PP - 0 0 * * 0 nwatch /etc/nwatch.mynet /var/log/nwatch/mynet + 0 0 * * 0 nwatch /etc/nwatch.mynet /var/cache/nwatch/mynet .PP I recommend you use croncrypt, so you don't leak your network information in plain text in your email: https://github.com/tejr/croncrypt |