Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
什么命令在 Linux 发行版上重新启动 Squid 代理服务器? 我试过squid restart了,这是正确的命令吗?
squid restart
大多数情况下,服务是通过 init 系统启动的,您可能可以使用以下命令重新启动服务
/etc/init.d/squid restart
或在 debian / ubuntu 上,您应该使用服务应用程序
service squid restart
或者
service squid3 restart
但也许我们应该通过选项卡完成来自动完成正确的服务:
service squid<TAB> restart