Start or stop services on Linux
Bitnami native installers include a graphical tool to manage services. This tool is named manager-linux-x64.run on Linux 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, postgresql or apache:
$ sudo installdir/ctlscript.sh restart mysql $ sudo installdir/ctlscript.sh restart postgresql $ 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.