]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
- when checking syntax: - don't fork; - don't overwrite pid file
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 20 Jan 2009 10:39:26 +0000 (10:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    syslog-ng.init -> 1.22

syslog-ng.init

index 5bde83568000a0053fff03cfc58fd26ef7a14f60..ccd93346f2701c57994fe8839b2322c79167a688 100644 (file)
@@ -22,7 +22,7 @@ if [ -f /etc/sysconfig/syslog-ng ]; then
 fi
 
 configtest() {
-       syslog-ng $OPTIONS -s || exit 1
+       syslog-ng $OPTIONS -F -s -p /var/run/syslog-ng-syntaxcheck.pid || exit 1
 }
 
 start() {
This page took 0.043354 seconds and 4 git commands to generate.