[squid-users] pid file

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Thu, 25 Mar 2010 00:49:39 -0600

Strange,
I know default path for squid.pid file is /var/run/squid.pid, however i need to
put it in /var/run/squid/squid.pid.

I realize there is flag '--with-pidfile=/var/run/squid/squid.pid' and this
should work. However after recompilling, pid file is still in
/var/run/squid.pid

any suggestion?

LD

Squid Cache: Version 3.1.0.18-20100324
configure options: '--build=x86_64-mandriva-linux-gnu' '--prefix=/usr' '--exec-
prefix=/usr' '--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--
sysconfdir=/etc/squid' '--datadir=/usr/share/squid' '--
includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib64/squid'
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--x-includes=/usr/include' '--x-
libraries=/usr/lib64' '--enable-shared=yes' '--enable-static=no' '--enable-
xmalloc-statistics' '--enable-carp' '--enable-async-io' '--enable-
storeio=aufs,diskd,ufs' '--enable-removal-policies=heap,lru' '--enable-icmp'
'--enable-delay-pools' '--disable-esi' '--enable-icap-client' '--enable-ecap'
'--enable-useragent-log' '--enable-referer-log' '--enable-wccp' '--enable-
wccpv2' '--disable-kill-parent-hack' '--enable-snmp' '--enable-cachemgr-
hostname=localhost' '--enable-arp-acl' '--enable-htcp' '--enable-ssl' '--
enable-forw-via-db' '--enable-cache-digests' '--disable-poll' '--enable-epoll'
'--enable-linux-netfilter' '--disable-ident-lookups' '--enable-default-
hostsfile=/etc/hosts' '--enable-auth=basic,digest,negotiate,ntlm' '--enable-
basic-auth-helpers=getpwnam,LDAP,MSNT,multi-domain-
NTLM,NCSA,PAM,SMB,YP,SASL,POP3,DB,squid_radius_auth' '--enable-ntlm-auth-
helpers=fakeauth,no_check,smb_lm' '--enable-negotiate-auth-
helpers=squid_kerb_auth' '--enable-digest-auth-
helpers=password,ldap,eDirectory' '--enable-external-acl-
helpers=ip_user,ldap_group,session,unix_group,wbinfo_group' '--with-default-
user=squid' '--with-pthreads' '--with-dl' '--with-openssl=/usr' '--with-large-
files' '--with-build-environment=default' '--enable-mit=/usr' '--with-
logdir=/var/log/squid' '--with-pidfile=/var/run/squid/squid.pid' '--enable-
http-violations' '--with-filedescriptors=8192' 'build_alias=x86_64-mandriva-
linux-gnu' 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-
protector-all -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'LDFLAGS= -Wl,--
as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1' 'CPPFLAGS=-
I/usr/include/openssl ' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-
security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -D_LARGEFI
Received on Thu Mar 25 2010 - 06:49:23 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 25 2010 - 12:00:07 MDT