summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.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:29:27 -0400
commit2cdfbbe2c830171a21b9e15b2ec91e21ad265118 (patch)
tree66630f906892853ad9f0abd50962b9b9b400794f /meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.bbappend
parent09beb2b42dd0a68e52b7f18fae8e855e039e90bd (diff)
downloadmeta-cloud-services-2cdfbbe2c830171a21b9e15b2ec91e21ad265118.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.30.bbappend')
-rw-r--r--meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.bbappend b/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.bbappend
new file mode 100644
index 0000000..50fab9f
--- /dev/null
+++ b/meta-openstack/recipes-dangling/lighttpd/lighttpd_1.4.30.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}