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