1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/syslog-ng1/files/patch-aa
Will Andrews 5a51c60c24 Change name of PID file to /var/run/syslog.pid. Since we're replacing
syslogd, it won't matter if we overwrite its PID file.

PR:		18244
Submitted by:	maintainer
2000-04-29 02:38:55 +00:00

17 lines
582 B
Plaintext

--- 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