Start or stop services on OS X
Bitnami native installers include a graphical tool to manage services. This tool is named manager-osx on Mac OS X and is located in the installation directory. To use this tool, double-click the file and then use the graphical interface to start, stop or restart services. Server log messages can be checked in the “Server Events” tab.
The native installer also includes a command-line script to start, stop and restart applications, named ctlscript.sh. This script can be found in the installation directory and accepts the options start, stop, restart, and status. To use it, log in to the server console and execute it following the examples below:
Call it without any service names to start all services:
$ sudo installdir/ctlscript.sh start
Use it to restart a specific service only by passing the service name as argument - for example, mysql or apache:
$ sudo installdir/ctlscript.sh restart mysql $ sudo installdir/ctlscript.sh restart apache
Obtain current status of all services:
$ installdir/ctlscript.sh status
The list of available services varies depending on the required components for each application.
NOTE: If you are using the stack manager for Mac OS X-VM, please check the following blog post to learn how to manage services from its graphical tool.