Merged from diffs from myself, Rodolfo Gouveia and with an rc script from giovanni@. This is a security update, fixing CVE-2011-3348, CVE-2011-3368, CVE-2011-3607, CVE-2011-4317, CVE-2012-0021, CVE-2012-0031 and CVE-2012-0053.
14 lines
216 B
Bash
14 lines
216 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: httpd2.rc,v 1.1 2012/07/18 08:45:42 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/httpd2"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_pre() {
|
|
rm -f /var/apache2/logs/{ssl_mutex,httpd.lock,accept.lock}.*
|
|
}
|
|
|
|
rc_cmd $1
|