<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Had no more issues after using the service file shipped with source code.</div><div dir="auto"><br></div><div dir="auto">What I did was:</div><div dir="auto">cp squid.service /etc/systemd/system</div><div dir="auto">systemctl daemon-reload</div><div dir="auto"><span style="font-family:sans-serif">systemctl enable squid</span><br></div><div dir="auto"><span style="font-family:sans-serif">systemctl start squid</span><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Alex</span></div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 11, 2018, 10:11 Eliezer Croitoru <<a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It was hard for me to understand the diff\patch without the original file in plain text.<br>
< GuessMainPID=no<br>
< RemainAfterExit=no<br>
< PIDFile=/var/run/squid.pid<br>
< SuccessExitStatus=5 6<br>
< ExecStart=/etc/init.d/squid start<br>
< ExecStop=/etc/init.d/squid stop<br>
< ExecReload=/etc/init.d/squid reload<br>
<br>
The above now makes more sense but.. replacing the service file and removing the /etc/init.d/squid file should be the real way to run squid.<br>
I do not know if and when Debian Stable would upgrade their package but as long as you don't upgrade it automatically it would be suffice.<br>
<br>
Eliezer<br>
<br>
----<br>
Eliezer Croitoru<br>
Linux System Administrator<br>
Mobile: +972-5-28704261<br>
Email: <a href="mailto:eliezer@ngtech.co.il" target="_blank" rel="noreferrer">eliezer@ngtech.co.il</a><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank" rel="noreferrer">squid3@treenet.co.nz</a>> <br>
Sent: Monday, June 11, 2018 09:25<br>
To: Eliezer Croitoru <<a href="mailto:eliezer@ngtech.co.il" target="_blank" rel="noreferrer">eliezer@ngtech.co.il</a>>; 'Alex K' <<a href="mailto:rightkicktech@gmail.com" target="_blank" rel="noreferrer">rightkicktech@gmail.com</a>><br>
Cc: <a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
Subject: Re: [squid-users] PID file /var/run/squid.pid not readable AND Supervising process XXX which is not our child<br>
<br>
On 11/06/18 14:03, Eliezer Croitoru wrote:<br>
> Hey Alex,<br>
> <br>
> What OS exactly is shipping this service file?<br>
> <br>
<br>
>From the first post:<br>
<br>
> 3.5.23-5+deb9u1<br>
<br>
Current Debian stable. It is not shipped exactly, but generates on<br>
install from the init.d file inserv headers in the absence of a shipped<br>
.service.<br>
<br>
"<br>
# Automatically generated by systemd-sysv-generator<br>
SourcePath=/etc/init.d/squid<br>
"<br>
<br>
<br>
Amos<br>
<br>
</blockquote></div>