Don't set the pid in the default daemon_flags in syslog-ng's rc script,
it was set to /var/run/syslog pid (same as base syslogd) causing problems with newsylog rotation. from Joel Carnat, ok aja@ jca@ steven@
This commit is contained in:
parent
1369628c18
commit
7ce9caf70a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.63 2018/02/12 10:03:49 bket Exp $
|
||||
# $OpenBSD: Makefile,v 1.64 2018/09/22 23:12:09 sthen Exp $
|
||||
|
||||
COMMENT= log management solution
|
||||
|
||||
@ -6,7 +6,7 @@ V = 3.12.1
|
||||
REL = 3.12
|
||||
DISTNAME = syslog-ng-$V
|
||||
CATEGORIES = sysutils
|
||||
REVISION = 4
|
||||
REVISION = 5
|
||||
|
||||
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
#!/bin/ksh
|
||||
#
|
||||
# $OpenBSD: syslog_ng.rc,v 1.7 2018/01/11 19:27:11 rpe Exp $
|
||||
# $OpenBSD: syslog_ng.rc,v 1.8 2018/09/22 23:12:09 sthen Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/syslog-ng"
|
||||
daemon_flags="-p /var/run/syslog.pid"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user