On Tue, Jul 24, 2007 at 06:36:03PM +0100, [email protected] said:
>   # denyhosts.py --daemon
>   DenyHosts could not obtain lock (pid: 6864)
>   [Errno 17] File exists: '/var/run/denyhosts.pid'
> 
> So let's try:
> 
>   # denyhosts.py --daemon --unlock
>   Invalid command line option detected.
>   Usage: /usr/bin/denyhosts.py [-f logfile | --file=logfile]
>   [ -c configfile | --config=configfile] [-i | --ignore]
>   [-n | --noemail] [--purge] [--migrate] [--daemon] [--sync] [--version]
> 
>   --file:   The name of log file to parse
>   --ignore: Ignore last processed offset (start processing from
>     beginning)
>   --noemail: Do not send an email report
>   --unlock: if lockfile exists, remove it and run as normal
>   --migrate: migrate your HOSTS_DENY file so that it is suitable for
>     --purge
>   --purge: expire entries older than your PURGE_DENY setting
>   --daemon: run DenyHosts in daemon mode
>   --sync: run DenyHosts synchronization mode
>   --version: Prints the version of DenyHosts and exits
> 
> Nice touch; when telling me that an option is invalid it's always nice
> to see the full usage information displayed, _complete with
> documentation of the option that you're telling me doesn't exist_!

bonus hate: --unlock mentioned in verbose usage, and not mentioned in
brief usage.
-- 
       Scott Francis | darkuncle(at)darkuncle(dot)net | 0x5537F527
                        Less and less is done
                     until non-action is achieved
             when nothing is done, nothing is left undone.
                                    -- the Tao of Sysadmin

Attachment: pgpasLRLfIoiJ.pgp
Description: PGP signature

Reply via email to