|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
# |
|
|
# |
|
|
# $OpenBSD: syslogd,v 1.1 2011/07/06 18:55:36 robert Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: syslogd,v 1.2 2014/03/15 00:59:50 sthen Exp $ |
|
|
|
|
|
|
|
|
daemon="/usr/sbin/syslogd" |
|
|
daemon="/usr/sbin/syslogd" |
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ daemon="/usr/sbin/syslogd" |
|
|
pexp="syslogd: \[priv\]" |
|
|
pexp="syslogd: \[priv\]" |
|
|
|
|
|
|
|
|
rc_pre() { |
|
|
rc_pre() { |
|
|
[ X"${httpd_flags}" != X"-u" ] && rm -f /var/www/dev/log && \ |
|
|
|
|
|
|
|
|
[ X"${nginx_flags}" != X"-u" ] && rm -f /var/www/dev/log && \ |
|
|
daemon_flags="${daemon_flags} -a /var/www/dev/log" |
|
|
daemon_flags="${daemon_flags} -a /var/www/dev/log" |
|
|
[ X"${named_flags}" != X"NO" ] && rm -f /var/named/dev/log && \ |
|
|
[ X"${named_flags}" != X"NO" ] && rm -f /var/named/dev/log && \ |
|
|
daemon_flags="${daemon_flags} -a /var/named/dev/log" |
|
|
daemon_flags="${daemon_flags} -a /var/named/dev/log" |
|
|