On Thu, 2005-06-23 at 05:39, [EMAIL PROTECTED] wrote:
> Can I modify the snmpd code so that, it accepts Linux signals
> to start and stop the SNMP agent(demon)?

The snmpd code already accepts the TERM signal to stop the
daemon and shut down cleanly.

If you think about it, you can't really use a signal to *start*
the agent.  If the agent process isn't running, how can you
send a signal to it?!

That's why Linux (and many other systems) use a start/stop
script (typically /etc/rc.d/init.d/snmpd)

Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to