summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-05-21 13:18:58 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-05-21 13:18:58 -0400
commit05dc8bd7aef39682c7f2d8e932aaad59dccb8cae (patch)
treef029bf011790b4d2ffb08e5401ca8209a2afc5f7 /meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend
parent99116f5a9bdfba28ff9142a778fbcb2432848afe (diff)
downloadmeta-cloud-services-05dc8bd7aef39682c7f2d8e932aaad59dccb8cae.tar.gz
bbappends: update bbappends to match oe-core, meta-oe and meta-virtualization versions
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend')
-rw-r--r--meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend b/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend
new file mode 100644
index 0000000..50fab9f
--- /dev/null
+++ b/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.33.bbappend
@@ -0,0 +1,5 @@
1INC := "${@int(PRINC) + 1}"
2
3do_install_append() {
4 sed -i '2i port=`grep "^server.port" /etc/lighttpd.conf`; if [ -z $port ]; then echo "server port not configured, not running lighttpd..."; exit 0; fi' ${D}/etc/init.d/lighttpd
5}