Ticket #15218: apache20-livecheck.diff

File apache20-livecheck.diff, 492 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)
  • Portfile

     
    166166"\[ -r ${prefix}/apache20/logs/httpd.pid \] && ${prefix}/apache20/bin/apachectl stop > /dev/null"
    167167startupitem.restart     \
    168168"\[ -r ${prefix}/apache20/logs/httpd.pid \] && ${prefix}/apache20/bin/apachectl restart > /dev/null"
     169
     170livecheck.check regex
     171livecheck.url   ${homepage}
     172livecheck.regex {Apache (2\.0(?:\.\d+)*) Released}