Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2814d96d61061727af0e260b90623f2cd9db36a6

commit 2814d96d61061727af0e260b90623f2cd9db36a6
Author: CSÉCSY László <boo...@frugalware.org>
Date:   Mon Mar 28 23:00:27 2011 +0200

syslog-ng-3.2.2-2-i686

pidfile should be created when daemon starts to have a logrotate
integration that actually works as intended

diff --git a/source/apps-extra/syslog-ng/FrugalBuild 
b/source/apps-extra/syslog-ng/FrugalBuild
index 37d4c15..837a668 100644
--- a/source/apps-extra/syslog-ng/FrugalBuild
+++ b/source/apps-extra/syslog-ng/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=syslog-ng
pkgver=3.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="A flexible system logging tool"
url="http://www.balabit.com/products/syslog_ng/";
depends=('glib2' 'eventlog>=0.2.7' 'tcp_wrappers>=7.6-7' 'libnet>=1.1.2.1-4')
@@ -19,7 +19,7 @@ 
source=(http://www.balabit.com/downloads/files/$pkgname/sources/$pkgver/source/$
rc.syslog-ng syslog-ng.conf syslog-ng syslog-ng-3.2.2-systemd.diff)
backup=(etc/syslog-ng.conf)
sha1sums=('3a340f8e72b460cc0bc1ec1d4c86b74678912dd6' \
-          '5d96413b01fe8a2d1b52714eda6ff6a9e40db292' \
+          '79238f6cac9e35b664271d3756bbe958885bced2' \
'2c8ed6d59c6c5b4031f458b5e26921763377522e' \
'2876e61d5e04f6117967da728bcb1d3b6785532f' \
'3cd5d9bd2b439e0aed23b6c4e3b11c6f9ec0d154')
diff --git a/source/apps-extra/syslog-ng/rc.syslog-ng 
b/source/apps-extra/syslog-ng/rc.syslog-ng
index 0bd848f..1d56051 100644
--- a/source/apps-extra/syslog-ng/rc.syslog-ng
+++ b/source/apps-extra/syslog-ng/rc.syslog-ng
@@ -21,7 +21,7 @@ daemon=$"Syslog-NG"
rc_start()
{
start_msg
-       /usr/sbin/syslog-ng
+       /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
ok $?
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to