| Weblog: | Advertising Rendezvous services in Linux | |
| Subject: | why not use mDNSResponder instead of mdNSProxyResponder? | |
| Date: | 2003-05-12 08:01:42 | |
| From: | anonymous2 | |
|
Response to: why not use mDNSResponder instead of mdNSProxyResponder?
|
||
| I'm trying to write a redhat init script to turn the responder on and off. The daemonized version, how can I look up the PID to kill it (and therefore allow the script to respond to a "service rendezvous stop" command)? | ||
Showing messages 1 through 1 of 1.
-
Stopping the service
2003-05-12 08:41:20 rflicken [Reply | View]
The quickest way is to just run killall mDNSProxyResponder to kill the job by name. You could also do something like kill `ps ax|grep mDNSProxyResponder|grep -v grep|awk '{print $1}'` (although the first one is much simpler...)
| Showing messages 1 through 1 of 1. |



