Generate apache start/stop command based on detected OS

Generate apache start/stop command based on detected OS (distro). Tested on Ubuntu and Mac.