lighttpd: Remove systemd support which is merged in oe-core

OE-Core has been updated to support lighttpd with systemd. Stuff here is
not required anymore.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Shakeel, Muhammad 2013-09-12 15:28:53 +00:00 committed by Martin Jansa
parent c837f8a883
commit 03e6d3cba8
2 changed files with 0 additions and 26 deletions

View File

@ -1,13 +0,0 @@
[Unit]
Description=Lightning Fast Webserver With Light System Requirements
After=syslog.target
[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/lighttpd
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,18 +1,5 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 2}"
inherit systemd
SRC_URI += "file://lighttpd.service"
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "lighttpd.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system
}