Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2000 18:12:17 -0700 (PDT)
From:      vince@blue-box.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18244: syslog-ng: patch to correct name of pidfile
Message-ID:  <200004270112.e3R1CHh37221@kenny.blue-box.net>

next in thread | raw e-mail | index | archive | help

>Number:         18244
>Category:       ports
>Synopsis:       syslog-ng: patch to correct name of pidfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 18:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Vince Valenti
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	

>Description:

Currently, syslog-ng names its pidfile /var/run/syslog-ng.pid.  When
newsyslog tries to HUP syslogd, it looks for /var/run/syslog.pid.  The patch
below replaces patch-aa in the syslog-ng port to make syslog-ng name it's
pidfile /var/run/syslog.pid.

>How-To-Repeat:

	

>Fix:

The new patches/patch-aa:

--- src/syslog-ng.h.orig	Tue Feb 22 09:50:29 2000
+++ src/syslog-ng.h	Wed Apr 26 17:42:07 2000
@@ -32,10 +32,10 @@

 #if WITH_DEBUG
 #define PATH_SYSLOG_NG_CONF     "syslog-ng.conf"
-#define PATH_PIDFILE            "syslog-ng.pid"
+#define PATH_PIDFILE            "syslog.pid"
 #else
-#define PATH_SYSLOG_NG_CONF     "/etc/syslog-ng/syslog-ng.conf"
-#define PATH_PIDFILE            "/var/run/syslog-ng.pid"
+#define PATH_SYSLOG_NG_CONF     "__PREFIX__/etc/syslog-ng/syslog-ng.conf"
+#define PATH_PIDFILE            "/var/run/syslog.pid"
 #endif

 #define ST_QUIT                 16


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004270112.e3R1CHh37221>