summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend')
-rw-r--r--meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend15
1 files changed, 0 insertions, 15 deletions
diff --git a/meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend b/meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend
deleted file mode 100644
index 7aca867..0000000
--- a/meta-openstack/recipes-dangling/apache2/apache2_2.4.9.bbappend
+++ /dev/null
@@ -1,15 +0,0 @@
1INC := "${@int(PRINC) + 1}"
2
3do_install_append() {
4 sed -i -e 's/#ServerName.*$/ServerName 127.0.0.1:80/' ${D}${sysconfdir}/apache2/httpd.conf
5
6 # default layout for htdocsdir in 2.4.7 is different, create the following for
7 # backward compatibility reasons
8
9 mkdir -p ${D}${datadir}/${BPN}/default-site
10 ln -sf ../htdocs ${D}${datadir}/${BPN}/default-site/htdocs
11
12 sed -i '30i if [ ! -e /var/log/apache2 ]; then ln -sf /var/apache2/logs/ /var/log/apache2; fi' ${D}/etc/init.d/apache2
13}
14
15FILES_${PN} += "${datadir}/${BPN}/default-site"