sthen 7ce9caf70a 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@
2018-09-22 23:12:09 +00:00

12 lines
165 B
Bash

#!/bin/ksh
#
# $OpenBSD: syslog_ng.rc,v 1.8 2018/09/22 23:12:09 sthen Exp $
daemon="${TRUEPREFIX}/sbin/syslog-ng"
. /etc/rc.d/rc.subr
pexp="${daemon}"
rc_cmd $1