Robert T Wyatt wrote: > I've noticed that (on Mac OS X), when my system crashes, denyhosts will not > restart due to the pid file not being deleted. > > Is this considered a bug to the developers? For me, it is. Has anyone > implemented a workaround that they would like to share?
I have an ugly workaround for Cygwin, should work with any other OS that has Paul Vixie's cron, in root's crontab: # DenyHosts DC="/usr/share/denyhosts/daemon-control" LK="/var/run/denyhosts.pid" @reboot [ "`$DC status`" = "$LK exists but DenyHosts is not running" ] && rm -f $LK && $DC condrestart The last line is one line (the mail will break it). -- René Berber ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Denyhosts-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/denyhosts-user
