diff options
Diffstat (limited to 'meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc')
-rw-r--r-- | meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc b/meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc new file mode 100644 index 0000000..33b1f61 --- /dev/null +++ b/meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc | |||
@@ -0,0 +1,3 @@ | |||
1 | do_install_append() { | ||
2 | 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 | ||
3 | } | ||