exec_start "/usr/sbin/squid -N $SQUID_ARGS"
exec_reload "/usr/sbin/squid -k reconfigure"
exec_stop "/usr/sbin/squid -k shutdown"
exec_start "/usr/sbin/squid -N $SQUID_ARGS"
exec_reload "/usr/sbin/squid -k reconfigure"
exec_stop "/usr/sbin/squid -k shutdown"
notifies :restart, "service[squid]"
only_if do
IO.popen(["squidclient", "--host=127.0.0.1", "--port=80", "mgr:counters"]) do |io|
notifies :restart, "service[squid]"
only_if do
IO.popen(["squidclient", "--host=127.0.0.1", "--port=80", "mgr:counters"]) do |io|