lighttpd: move systemd support to meta-systemd

This commit is contained in:
Andreas Müller
2012-07-11 13:53:25 +02:00
committed by Koen Kooi
parent 14a5f1174c
commit 36aa9a4fc0
2 changed files with 2 additions and 2 deletions
@@ -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"