mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
lighttpd: move systemd appends since recipe is in oe-core
This commit is contained in:
committed by
Koen Kooi
parent
87d5eaf8a3
commit
4a87464fa6
@@ -0,0 +1,13 @@
|
||||
[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
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://lighttpd.service"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}"
|
||||
SYSTEMD_SERVICE_${PN} = "lighttpd.service"
|
||||
Reference in New Issue
Block a user