aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/lighttpd/lighttpd_openstack.inc
blob: 33b1f61ce0c71622d13214ff790cb42cdca33474 (plain)
1
2
3
do_install_append() {
	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
}