<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">W dniu 06.07.2017 o 15:08, erdosain9
      pisze:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1499346512484-4682998.post@n4.nabble.com">
      <pre wrap="">Hi.
mmm... im having a doubt.
I usually use Systemctl for start, stop, reload, and status; but sometimes i
heard that it was not the best way to do these actions.
Way? I heard something wrong?
And if not the best way, what would it be?

1) squid -z
2) squid

???

And from there, how i can stop and reload, status??
And, if this is the best way, how do I start Squid automatically when the
system boots?

(Or is it really not relevant?)

Thanks to all!



--
View this message in context: <a class="moz-txt-link-freetext" href="http://squid-web-proxy-cache.1019090.n4.nabble.com/The-best-way-to-start-stop-reload-status-tp4682998.html">http://squid-web-proxy-cache.1019090.n4.nabble.com/The-best-way-to-start-stop-reload-status-tp4682998.html</a>
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
    </blockquote>
    <p><font size="-1">squid -k check|reconfigure etc for interaction
        with squid process. Reconfigure is for reload config files,
        external ACL files, as well as for i.e. refreshing cached group
        members in case if external ACL used. <br>
        Usually, the best way to start/stop/restart squid is to use your
        init, i.e. systemctl stop squid, service squid stop,
        /etc/init.d/squid stop. Depending of distro, squid usually has
        systemd-unit-file or upstart/init script. For reload
        configuration, personally I always use squid -k reconfigure. <br>
      </font></p>
    <p><font size="-1">But if you want to/need to, you do not have to
        run squid as a daemon/service, you can start it via cron or
        whatever you like. Init is usually the best way, since it
        handles things like order, dependiencies, runlevels etc. - that
        is what is it for.<br>
      </font></p>
    <pre class="moz-signature" cols="72">-- 
Greets, Dijx.</pre>
  </body>
</html>