lighttpd: move systemd support to meta-systemd

This commit is contained in:
Andreas Müller authored and Koen Kooi committed 2012-07-16 09:39:06 +02:00
1 parent 14a5f1174c
commit 36aa9a4fc0
2 files changed
+2 -2

No files matched your search

@@ -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"