squid/squid.init

173 lines
3.3 KiB
Plaintext
Raw Normal View History

auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
#!/bin/bash
### BEGIN INIT INFO
# Provides: squid
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
# chkconfig: - 90 25
# pidfile: /var/run/squid.pid
# config: /etc/squid/squid.conf
# Short-Description: starting and stopping Squid Internet Object Cache
# Description: Squid - Internet Object Cache. Internet object caching is \
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
# a way to store requested Internet objects (i.e., data available \
# via the HTTP, FTP, and gopher protocols) on a system closer to the \
# requesting site than to the source. Web browsers can then use the \
# local Squid cache as a proxy HTTP server, reducing access time as \
# well as bandwidth consumption.
### END INIT INFO
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
PATH=/usr/bin:/sbin:/bin:/usr/sbin
export PATH
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
if [ -f /etc/sysconfig/squid ]; then
. /etc/sysconfig/squid
fi
# don't raise an error if the config file is incomplete
# set defaults instead:
SQUID_OPTS=${SQUID_OPTS:-"-D"}
SQUID_PIDFILE_TIMEOUT=${SQUID_PIDFILE_TIMEOUT:-20}
SQUID_SHUTDOWN_TIMEOUT=${SQUID_SHUTDOWN_TIMEOUT:-100}
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
# determine the name of the squid binary
[ -f /usr/sbin/squid ] && SQUID=squid
if [ "$1" == "status" ]; then
[ -z "$SQUID" ] && exit 4
else
[ -z "$SQUID" ] && exit 1
fi
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
prog="$SQUID"
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
# determine which one is the cache_swap directory
CACHE_SWAP=`sed -e 's/#.*//g' /etc/squid/squid.conf | \
grep cache_dir | awk '{ print $3 }'`
[ -z "$CACHE_SWAP" ] && CACHE_SWAP=/var/spool/squid
RETVAL=0
probe() {
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 1
# check if the squid conf file is present
[ -f /etc/squid/squid.conf ] || exit 6
}
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
start() {
probe
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
for adir in $CACHE_SWAP; do
if [ ! -d $adir/00 ]; then
echo -n "init_cache_dir $adir... "
$SQUID -z -F -D >> /var/log/squid/squid.out 2>&1
fi
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
done
echo -n $"Starting $prog: "
$SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
timeout=0;
while : ; do
[ ! -f /var/run/squid.pid ] || break
if [ $timeout -ge $SQUID_PIDFILE_TIMEOUT ]; then
RETVAL=1
break
fi
sleep 1 && echo -n "."
timeout=$((timeout+1))
done
fi
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SQUID
[ $RETVAL -eq 0 ] && echo_success
[ $RETVAL -ne 0 ] && echo_failure
echo
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
$SQUID -k check >> /var/log/squid/squid.out 2>&1
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
$SQUID -k shutdown &
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
rm -f /var/lock/subsys/$SQUID
timeout=0
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
while : ; do
[ -f /var/run/squid.pid ] || break
if [ $timeout -ge $SQUID_SHUTDOWN_TIMEOUT ]; then
echo
return 1
fi
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
sleep 2 && echo -n "."
timeout=$((timeout+2))
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
done
echo_success
echo
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
else
echo_failure
echo
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
fi
return $RETVAL
}
reload() {
$SQUID $SQUID_OPTS -k reconfigure
}
restart() {
stop
start
}
condrestart() {
[ -e /var/lock/subsys/squid ] && restart || :
}
rhstatus() {
status $SQUID && $SQUID -k check
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
}
case "$1" in
start)
start
;;
stop)
stop
;;
reload)
reload
;;
restart)
restart
;;
condrestart)
condrestart
;;
status)
rhstatus
;;
probe)
probe
return 0
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
;;
*)
echo $"Usage: $0 {start|stop|status|reload|restart|condrestart|probe}"
exit 2
auto-import changelog data from squid-2.3.STABLE4-1.src.rpm Fri Jul 28 2000 Bill Nottingham <notting@redhat.com> - clean up init script; fix condrestart - update to STABLE4, more bugfixes - update FAQ Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - fix syntax error in init script - finish adding condrestart support Fri Jul 14 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jul 06 2000 Bill Nottingham <notting@redhat.com> - prereq /etc/init.d - add bugfix patch - update FAQ Thu Jun 29 2000 Bill Nottingham <notting@redhat.com> - fix init script Tue Jun 27 2000 Bill Nottingham <notting@redhat.com> - don't prereq new initscripts Mon Jun 26 2000 Bill Nottingham <notting@redhat.com> - initscript munging Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> - rebuild for exciting FHS stuff Wed May 31 2000 Bill Nottingham <notting@redhat.com> - fix init script again (#11699) - add --enable-delay-pools (#11695) - update to STABLE3 - update FAQ Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> - fix init script (#11087) Fri Apr 07 2000 Bill Nottingham <notting@redhat.com> - three more bugfix patches from the squid people - buildprereq jade, sgmltools Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> - make %pre more portable Thu Mar 16 2000 Bill Nottingham <notting@redhat.com> - bugfix patches - fix dependency on /usr/local/bin/perl Sat Mar 04 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE2 Mon Feb 14 2000 Bill Nottingham <notting@redhat.com> - Yet More Bugfix Patches Tue Feb 08 2000 Bill Nottingham <notting@redhat.com> - add more bugfix patches - --enable-heap-replacement Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies Fri Jan 28 2000 Bill Nottingham <notting@redhat.com> - grab some bugfix patches Mon Jan 10 2000 Bill Nottingham <notting@redhat.com> - 2.3.STABLE1 (whee, another serial number) Tue Dec 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> - Fix compliance with ftp RFCs (http://www.wu-ftpd.org/broken-clients.html) - Work around a bug in some versions of autoconf - BuildPrereq sgml-tools - we're using sgml2html Mon Oct 18 1999 Bill Nottingham <notting@redhat.com> - add a couple of bugfix patches Wed Oct 13 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE5. - update FAQ, fix URLs. Sat Sep 11 1999 Cristian Gafton <gafton@redhat.com> - transform restart in reload and add restart to the init script Tue Aug 31 1999 Bill Nottingham <notting@redhat.com> - add squid user as user 23. Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging - fix conflict between logrotate & squid -k (#4562) Wed Jul 28 1999 Bill Nottingham <notting@redhat.com> - put cachemgr.cgi back in /usr/lib/squid Wed Jul 14 1999 Bill Nottingham <notting@redhat.com> - add webdav bugfix patch (#4027) Mon Jul 12 1999 Bill Nottingham <notting@redhat.com> - fix path to config in squid.init (confuses linuxconf) Wed Jul 07 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE4 Wed Jun 09 1999 Dale Lovelace <dale@redhat.com> - logrotate changes - errors from find when /var/spool/squid or - /var/log/squid didn't exist Thu May 20 1999 Bill Nottingham <notting@redhat.com> - 2.2.STABLE3 Thu Apr 22 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE.2 Sun Apr 18 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.STABLE1 Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - don't need to run groupdel on remove - fix useradd Mon Apr 12 1999 Bill Nottingham <notting@redhat.com> - fix effective_user (bug #2124) Mon Apr 05 1999 Bill Nottingham <notting@redhat.com> - strip binaries Thu Apr 01 1999 Bill Nottingham <notting@redhat.com> - duh. adduser does require a user name. - add a serial number Tue Mar 30 1999 Bill Nottingham <notting@redhat.com> - add an adduser in %pre, too Thu Mar 25 1999 Bill Nottingham <notting@redhat.com> - oog. chkconfig must be in %preun, not %postun Wed Mar 24 1999 Bill Nottingham <notting@redhat.com> - switch to using group squid - turn off icmp (insecure) - update to 2.2.DEVEL3 - build FAQ docs from source Tue Mar 23 1999 Bill Nottingham <notting@redhat.com> - logrotate changes Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Wed Feb 10 1999 Bill Nottingham <notting@redhat.com> - update to 2.2.PRE2 Wed Dec 30 1998 Bill Nottingham <notting@redhat.com> - cache & log dirs shouldn't be world readable - remove preun script (leave logs & cache @ uninstall) Tue Dec 29 1998 Bill Nottingham <notting@redhat.com> - fix initscript to get cache_dir correct Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> - update to 2.1.PATCH2 - merge in some changes from RHCN version Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binaries - version 1.1.22 Sun May 10 1998 Cristian Gafton <gafton@redhat.com> - don't make packages conflict with each other... Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - added a proxy auth patch from Alex deVries <adevries@engsoc.carleton.ca> - fixed initscripts Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - rebuilt for Manhattan Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.21/1.NOVM.21 Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com> - updated the init script to use reconfigure option to restart squid instead of shutdown/restart (both safer and quicker) Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.1.20 - added the NOVM package and tryied to reduce the mess in the spec file Wed Jan 07 1998 Cristian Gafton <gafton@redhat.com> - first build against glibc - patched out the use of setresuid(), which is available only on kernels 2.1.44 and later
2004-09-09 12:36:11 +00:00
esac
exit $?