Signed-off-by: Pau Espin Pedrol <pespin.s...@gmail.com>
---
 meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb 
b/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
index a407d03..ca88b75 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.39.bb
@@ -54,12 +54,12 @@ do_install_append() {
        install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
        install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
 
-       install -d ${D}${systemd_unitdir}/system
-       install -m 0644 ${WORKDIR}/lighttpd.service 
${D}${systemd_unitdir}/system
+       install -d ${D}${systemd_system_unitdir}
+       install -m 0644 ${WORKDIR}/lighttpd.service 
${D}${systemd_system_unitdir}
        sed -i -e 's,@SBINDIR@,${sbindir},g' \
                -e 's,@SYSCONFDIR@,${sysconfdir},g' \
                -e 's,@BASE_BINDIR@,${base_bindir},g' \
-               ${D}${systemd_unitdir}/system/lighttpd.service
+               ${D}${systemd_system_unitdir}/lighttpd.service
        #For FHS compliance, create symbolic links to /var/log and /var/tmp for 
logs and temporary data
        ln -sf ${localstatedir}/log ${D}/www/logs
        ln -sf ${localstatedir}/tmp ${D}/www/var
-- 
2.7.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to