Hi, I'm trying to have squid log through syslog. I set squid flags in /etc/rc.conf as follow: ######################################################################## squid=YES squid_flags="-s -l LOCAL5" ######################################################################## But squid keeps starting without those flags. It only uses the "command_args". Debugging the start script, I can'get why it does not use my _flags even if it sees them: ######################################################################## + eval rc_flags=$squid_flags + rc_flags=-s -l LOCAL5 + eval _chdir=$squid_chdir _chroot=$squid_chroot _nice=$squid_nice _user=$squid_user _group=$squid_group _groups=$squid_groups _systrace=$squid_systrace + _chdir= _chroot= _nice= _user= _group= _groups= _systrace= + [ -n ] + [ -n squid -a start != rcvar ] + checkyesno squid + eval _value=$squid + _value=YES + return 0 + eval rc_pid=$(check_pidfile /var/run/squid.pid /usr/pkg/sbin/squid ) + check_pidfile /var/run/squid.pid /usr/pkg/sbin/squid + _pidfile=/var/run/squid.pid + _procname=/usr/pkg/sbin/squid + _interpreter= + [ -z /var/run/squid.pid -o -z /usr/pkg/sbin/squid ] + [ ! -f /var/run/squid.pid ] + return + rc_pid= + [ start != start ] + eval _cmd=$start_cmd _precmd=$start_precmd _postcmd=$start_postcmd + _cmd=/usr/pkg/sbin/squid -Y -f /usr/pkg/etc/squid/squid.conf _precmd= _postcmd= + [ -n /usr/pkg/sbin/squid -Y -f /usr/pkg/etc/squid/squid.conf ] + eval + eval /usr/pkg/sbin/squid -Y -f /usr/pkg/etc/squid/squid.conf + /usr/pkg/sbin/squid -Y -f /usr/pkg/etc/squid/squid.conf + eval + return 0 ######################################################################## Anyone knows why I fail changing the starting flags? TIA, Jo
Attachment:
signature.asc
Description: Digital signature