summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
diff options
context:
space:
mode:
authorMichael Lippautz <michael.lippautz@gmail.com>2011-04-20 15:29:40 +0200
committerMichael Lippautz <michael.lippautz@gmail.com>2011-04-20 15:40:36 +0200
commit55fac53f408e5c4bbde80597cb7c9b220a240c1e (patch)
tree53a7e8c644b9ddc58bcd971b5698ef7e573ae172 /meta-oe/recipes-support/syslog-ng/syslog-ng.inc
parent86738fa85f8a2e6b29863c51158a28f312bdd701 (diff)
downloadmeta-openembedded-55fac53f408e5c4bbde80597cb7c9b220a240c1e.tar.gz
syslog-ng: Runtime corrections
* Ships with a working syslog-ng.conf * Stops any running syslogd upon installation Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/syslog-ng.inc')
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index 38bcfb08e..c3a36c18f 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"
7# update-rc.d and update-alternatives is important 7# update-rc.d and update-alternatives is important
8RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}" 8RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
9 9
10INC_PR = "r5" 10INC_PR = "r6"
11 11
12inherit autotools 12inherit autotools
13 13
@@ -41,6 +41,7 @@ do_install_append() {
41CONFFILES_${PN} = "${sysconfdir}/${PN}.conf" 41CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"
42 42
43pkg_postinst_${PN} () { 43pkg_postinst_${PN} () {
44 /etc/init.d/syslog stop
44 update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200 45 update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200
45 46
46 if test "x$D" != "x"; then 47 if test "x$D" != "x"; then