daemondo

Joshua Root jmr at macports.org
Tue Feb 10 14:07:43 PST 2009


Bradley Giesbrecht wrote:
> Is there a shorter way to bounce servers then:
> 
> launchctl unload /Library/LaunchDaemons/org.macports.bind9.plist
> launchctl load -w /Library/LaunchDaemons/org.macports.bind9.plist
> 
> I'm writing little scripts for this but if there is already something in
> place that I missed I'll use that.

`port unload bind9` and `port load bind9` do the same things as the
above, and are undeniably shorter. :-)

OTOH, you might just want to send SIGHUP to named, or use rndc.

- Josh


More information about the macports-users mailing list