squid init.d stop does not work
“/etc/init.d/squid stop” takes forever to run as the script does not figure out the process is stopped.
the script only checks for existence of /var/run/squid.pid (hardcoded
instead of looked from /etc/squid/squid.conf).
additionally /var/run/squid.pid permissions are root:squid -rw-r—r—, so
there no way for squid process to remove it if it’s non-root.
(from redmine: issue id 133, created on 2009-08-13, closed on 2009-10-09)
- Changesets:
- Revision 5d469231 on 2009-09-01T13:12:42Z:
main/squid: fix for squid initscript and pidfile
fixes #133