syslogd: Adopt FreeBSD -F instead of -n to run in foreground

This change will probably break most installations.  We do this to free
up '-n' for use as disabling DNS lookups, from FreeBSD *and* NetBSD.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-11-13 17:05:42 +01:00
parent 9d415f313f
commit cf9d281e5b
5 changed files with 19 additions and 18 deletions

View File

@ -20,7 +20,7 @@ cat <<EOF > ${CONFD}/bar.conf
*.* @127.0.0.2
EOF
../src/syslogd -b :${PORT} -d -sn -f ${CONF} -p ${SOCK} -p ${ALTSOCK} &
../src/syslogd -b :${PORT} -d -sF -f ${CONF} -p ${SOCK} -p ${ALTSOCK} &
echo "$!" > ${PID}
sleep 2