diff options
Diffstat (limited to 'meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend')
-rw-r--r-- | meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend new file mode 100644 index 0000000..50fab9f --- /dev/null +++ b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | INC := "${@int(PRINC) + 1}" | ||
2 | |||
3 | do_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 | } | ||