aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Dostal <rd@radekdostal.com>2012-04-16 09:36:28 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-04-17 20:12:01 +0200
commit9ef0b3d45750ed65d8c26b8ce228376172de327c (patch)
tree8ee108c719b7beef7ffd193d82b08ebcb4b845b3
parenta6cc90e84c18b3b65ea81ba948d96eba9025d0fc (diff)
lighttpd: lastest oe-core installs lighttpd.conf directly to /etc/
Signed-off-by: Radek Dostal <rd@radekdostal.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service2
-rw-r--r--meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service b/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service
index 18b752f..f4564f3 100644
--- a/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service
+++ b/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service
@@ -5,7 +5,7 @@ After=syslog.target
[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/lighttpd
-ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
+ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf
RemainAfterExit=yes
[Install]
diff --git a/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend b/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend
index 5449b1a..1341405 100644
--- a/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend
+++ b/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend
@@ -1,6 +1,6 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
-
-PRINC = "2"
+
+PRINC := "${@int(PRINC) + 3}"
inherit systemd