Command to restart Squid proxy server?

vincy picture vincy · May 13, 2011 · Viewed 82.2k times · Source

What command restarts the Squid proxy server on Linux distros?
I have tried squid restart, is that the correct command?

Answer

DipSwitch picture DipSwitch · May 13, 2011

Most of the time services are started via the init system you can probably restart your service with

/etc/init.d/squid restart

or on debian / ubuntu you should use the service application

service squid restart

or

service squid3 restart

But maybe we should relay on tab completion to auto complete to the proper service:

service squid<TAB> restart