mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 05:11:59 +00:00
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:
committed by
Martin Jansa
parent
c837f8a883
commit
03e6d3cba8
@@ -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
|
|
||||||
|
|
||||||
@@ -1,18 +1,5 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 2}"
|
PRINC := "${@int(PRINC) + 2}"
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
|
|
||||||
SRC_URI += "file://lighttpd.service"
|
|
||||||
|
|
||||||
RPROVIDES_${PN} += "${PN}-systemd"
|
RPROVIDES_${PN} += "${PN}-systemd"
|
||||||
RREPLACES_${PN} += "${PN}-systemd"
|
RREPLACES_${PN} += "${PN}-systemd"
|
||||||
RCONFLICTS_${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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user