David Liontooth wrote:

How do I get the daemon to start automatically on OSX? I added this to
/etc/rc:

# Start DenyHosts
/usr/share/denyhosts/daemon-control start

It works, as I see this after a reboot:

# l /var/run | grep deny
-rw-r--r--   1 root  daemon    3 Aug 17 09:17 denyhosts.pid

But probably not the correct way to do it. I couldn't find a /etc/ init.d.

OS X doesn't use the SysV init system, 10.4 introduced launchd: <http://developer.apple.com/macosx/launchd.html>. I don't know if there's a launchd script included with DenyHosts, but otherwise you could maybe use Lingon to create one: <http://lingon.sourceforge.net/>.

Oh, and if there are mac people out there -- how do you get "ps aux" to
wrap? Drives me bonkers, I can't see the process. Wrap is turned on in
the terminal and other commands wrap. ps -w makes no difference.

You could just increase the width of your terminal window and run the command again. :o)

Nils Breunese.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to