Using launchctl on Mac OS X (10.5.2)
Just a note concerning launching background services via ‘launchctl’. My understanding is that this takes the place of rc.d/ scripts in linux for example.
- Launch MySQL deamon
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist
- Stop MySQL deamon (same as above, but replace ‘load’ with ‘unload’)
sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist