check apache status bitmani code example
Example 1: bitnami restart apache
sudo /opt/bitnami/ctlscript.sh restart apache
Example 2: bitnami restart
sudo /opt/bitnami/ctlscript.sh restart
sudo /opt/bitnami/ctlscript.sh restart apache
sudo /opt/bitnami/ctlscript.sh restart