Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/sh
PREFIX=/usr/local/apache
case "$1" in
start)
[ -x $PREFIX/bin/apachectl ] &&
$PREFIX/bin/apachectl start > /dev/null &&
echo -n ' Apache Started' &&
echo
;;
stop)
[ -r $PREFIX/logs/httpd.pid ] &&
$PREFIX/bin/apachectl stop > /dev/null &&
echo -n ' Apache Stopped' &&
echo
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: `basename $0` {start|stop|restart}" >&2
;;
esac
exit 0