6

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

David Refoua
  • 3,476
  • 3
  • 31
  • 55
vincy
  • 7,219
  • 3
  • 16
  • 5

1 Answers1

21

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
DipSwitch
  • 5,470
  • 2
  • 20
  • 24