]>
git.saurik.com Git - apple/launchd.git/blob - launchd/src/StartupItems/Apache
11 if [ "${WEBSERVER:=-NO-}" = "-YES-" ]; then
12 echo "Starting Apache web server"
13 if [ ! -e /etc
/httpd
/httpd.conf
] ; then
14 cp -p /etc
/httpd
/httpd.conf.default
/etc
/httpd
/httpd.conf
17 if [ "${WEBPERFCACHESERVER:=-NO-}" = "-YES-" ]; then
18 if [ -x /usr
/sbin
/webperfcachectl
]; then
19 echo "Starting web performance cache server"
20 /usr
/sbin
/webperfcachectl start
28 if [ -x /usr
/sbin
/webperfcachectl
]; then
29 echo "Stopping web performance cache server"
30 /usr
/sbin
/webperfcachectl stop
32 echo "Stopping Apache web server"
38 if [ "${WEBSERVER:=-NO-}" = "-YES-" ]; then
39 echo "Restarting Apache web server"
41 if [ "${WEBPERFCACHESERVER:=-NO-}" = "-YES-" ]; then
42 if [ -x /usr
/sbin
/webperfcachectl
]; then
43 echo "Restarting web performance cache server"
44 /usr
/sbin
/webperfcachectl restart