|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh |
|
|
|
# |
|
|
|
# $OpenBSD: syslogd,v 1.3 2014/03/24 09:24:09 sthen Exp $ |
|
|
|
# $OpenBSD: syslogd,v 1.4 2014/07/18 18:20:42 deraadt Exp $ |
|
|
|
|
|
|
|
daemon="/usr/sbin/syslogd" |
|
|
|
|
|
|
@ -9,17 +9,6 @@ daemon="/usr/sbin/syslogd" |
|
|
|
pexp="syslogd: \[priv\]" |
|
|
|
|
|
|
|
rc_pre() { |
|
|
|
[ X"${nginx_flags}" != X"-u" ] && rm -f /var/www/dev/log && \ |
|
|
|
daemon_flags="${daemon_flags} -a /var/www/dev/log" |
|
|
|
[ X"${named_flags}" != X"NO" ] && rm -f /var/named/dev/log && \ |
|
|
|
daemon_flags="${daemon_flags} -a /var/named/dev/log" |
|
|
|
[ X"${nsd_flags}" != X"NO" ] && rm -f /var/nsd/dev/log && \ |
|
|
|
daemon_flags="${daemon_flags} -a /var/nsd/dev/log" |
|
|
|
[ X"${unbound_flags}" != X"NO" ] && rm -f /var/unbound/dev/log && \ |
|
|
|
daemon_flags="${daemon_flags} -a /var/unbound/dev/log" |
|
|
|
[ -d /var/empty ] && rm -f /var/empty/dev/log && \ |
|
|
|
mkdir -p -m 0555 /var/empty/dev && \ |
|
|
|
daemon_flags="${daemon_flags} -a /var/empty/dev/log" |
|
|
|
rm -f /dev/log |
|
|
|
} |
|
|
|
|
|
|
|