Start or Stop Services

Referencehttps://docs.bitnami.com/aws/faq/administration/control-services/

Running Services

  • apache
  • mysql
  • php-fpm
Obtain the status of a service with the service bitnami status command:
sudo /opt/bitnami/ctlscript.sh status

Call it without any service name arguments to start all services:

sudo /opt/bitnami/ctlscript.sh start

Or use it to restart a single service, such as Apache only, by passing the service name as argument:

sudo /opt/bitnami/ctlscript.sh restart apache

Use this script to stop all services:

sudo /opt/bitnami/ctlscript.sh stop

Restart the services by running the script without any arguments:

sudo /opt/bitnami/ctlscript.sh restart

Leave a Reply

Your email address will not be published. Required fields are marked *