Managing launchd

Rainer Müller raimue at
Sat Jul 4 09:20:17 PDT 2009

On 2009-07-04 18:13, Andrea D'Amore wrote:
> On 02/lug/09, at 21:33, Bryan Blackburn wrote:
>> use the converse of the command you used to load it:
>> $ sudo launchctl unload -w /Library/LaunchDaemons/ 
>> org.macports.lighttpd.plist
>> Then use the load again when you want to start it again.
> Or
> launchctl [start | stop] org.macports.lighttpd.plist
> to just start/stop the daemon once it's loaded.

'launchctl stop' will restart the daemon immediately again. If you
really want to shut down a server, use 'launchctl unload' or even
'launchctl remove' if the .plist is not available any more.


More information about the macports-users mailing list