<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
Ok,<br>
<br>
I'll just done your job.<br>
<br>
See attachements. I wrote squid.service, it takes approx. 30
seconds.<br>
<br>
PS. But note: you must install both files manually yourself. Read
manuals anyway.<br>
<br>
16.12.15 2:29, <a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Boulianne@cpu.ca">Sebastien.Boulianne@cpu.ca</a> пишет:<br>
<span style="white-space: pre;">> Hi,<br>
><br>
> Your answer didn’t help me.<br>
> Does it have anyone who create a service file for squid and
want to share it.<br>
> I tried the squid.service from the yum package (v3.3.8) but
it didn’t work.<br>
><br>
> Thanks<br>
><br>
> Sébastien<br>
> De : squid-users
[<a class="moz-txt-link-freetext" href="mailto:squid-users-bounces@lists.squid-cache.org">mailto:squid-users-bounces@lists.squid-cache.org</a>] De la part de
Yuri Voinov<br>
> Envoyé : 15 décembre 2015 10:35<br>
> À : <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> Objet : Re: [squid-users] Installing Squid as a service on
Oracle Linux 7.2<br>
><br>
><br>
> Squid's source don't contain automatically installed
autostart services for all possible platforms. You can do it
yourself.<br>
><br>
> 15.12.15 21:15,
<a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Boulianne@cpu.ca">Sebastien.Boulianne@cpu.ca</a><a class="moz-txt-link-rfc2396E" href="mailto:Sebastien.Boulianne@cpu.ca"><mailto:Sebastien.Boulianne@cpu.ca></a>
пишет:<br>
> > Hi,<br>
><br>
><br>
><br>
> > I hope all is going perfectly for you.<br>
><br>
><br>
><br>
> > Im trying to install Squid-3.5.12 from source.<br>
><br>
> > I followed the doc to compile it properly.<br>
><br>
><br>
><br>
> > When I ran squid -z, all is perfect.<br>
><br>
><br>
><br>
> > [root@squid /]# squid -z<br>
><br>
> > [root@squid /]# 2015/12/15 10:06:20 kid1| Set
Current<br>
> Directory to /var/spool/squid<br>
><br>
> > 2015/12/15 10:06:20 kid1| Creating missing swap
directories<br>
><br>
> > 2015/12/15 10:06:20 kid1| /var/spool/squid exists<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/00<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/01<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/02<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/03<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/04<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/05<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/06<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/07<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/08<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/09<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0A<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0B<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0C<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0D<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0E<br>
><br>
> > 2015/12/15 10:06:20 kid1| Making directories in<br>
> /var/spool/squid/0F<br>
><br>
><br>
><br>
> > But when I try to « service squid start », it
fails... There<br>
> is no squid.service.<br>
><br>
><br>
><br>
> > [root@squid /]# service squid start<br>
><br>
> > Redirecting to /bin/systemctl start squid.service<br>
><br>
> > Failed to start squid.service: Unit squid.service
failed to<br>
> load: No such file or directory.<br>
><br>
><br>
><br>
> > I searched for a doc how to create this file but I
can't find<br>
> it.<br>
><br>
><br>
><br>
> > Can you help me please ?<br>
><br>
><br>
><br>
> > Sébastien Boulianne<br>
><br>
> > Administrateur réseau & système / Network
& System<br>
> Administrator.<br>
><br>
> > Gestion des infrastructures / Infrastructure
Management.<br>
><br>
> > CCNA / CompTIA Server+ / Spécialiste en
monitoring.<br>
><br>
><br>
>
<a class="moz-txt-link-abbreviated" href="mailto:sebastien.boulianne@cpu.ca">sebastien.boulianne@cpu.ca</a><a class="moz-txt-link-rfc2396E" href="mailto:sebastien.boulianne@cpu.ca"><mailto:sebastien.boulianne@cpu.ca></a><a class="moz-txt-link-rfc2396E" href="mailto:sebastien.boulianne@cpu.ca"><mailto:sebastien.boulianne@cpu.ca></a><a class="moz-txt-link-rfc2396E" href="mailto:sebastien.boulianne@cpu.ca"><mailto:sebastien.boulianne@cpu.ca></a><br>
><br>
><br>
><br>
> > [<a class="moz-txt-link-freetext" href="cid:image001.jpg@01D13720.14E92580">cid:image001.jpg@01D13720.14E92580</a>]<br>
><br>
><br>
><br>
><br>
><br>
> > 2323, du Versant Nord, suite 100<br>
><br>
> > Québec (Québec) G1N 4P4<br>
><br>
> > Téléphone : (418) 681 6974 poste 666<br>
><br>
> > Ligne sans frais : 1 888 681 6974<br>
><br>
> > Télécopieur : (418) 681 1444<br>
><br>
><br>
><br>
> > Information confidentielle : Le présent message,
ainsi que<br>
> tout fichier qui y est joint, est envoyé à l'intention
exclusive<br>
> de son ou de ses destinataires, il est de nature
confidentielle et<br>
> peut constituer une information privilégiée. Nous
avertissons<br>
> toute personne autre que le destinataire prévu que tout
examen,<br>
> réacheminement, impression, copie, distribution ou
autre<br>
> utilisation de ce message et de tout fichier qui y est
joint est<br>
> strictement interdit. Si vous n'êtes pas le
destinataire prévu,<br>
> veuillez en aviser immédiatement l'expéditeur par
retour de<br>
> courriel et supprimer ce message et tout document joint
de votre<br>
> système. Merci.<br>
><br>
><br>
><br>
> > Confidentiality Warning : This message and any
attachments<br>
> are intended only for the use of the intended
recipient(s), are<br>
> confidential, and may be privileged. If you are not the
intended<br>
> recipient, you are hereby notified that any review,<br>
> retransmission, conversion to hard copy, copying,
circulation or<br>
> other use of this message and any attachments is
strictly<br>
> prohibited. If you are not the intended recipient,
please notify<br>
> the sender immediately by return e-mail, and delete
this message<br>
> and any attachments from your system. Thank you.<br>
><br>
><br>
><br>
> > « Gérer c'est prévoir (voir avant, avoir une
vision de<br>
> l'avenir) »<br>
><br>
> > [<a class="moz-txt-link-freetext" href="cid:image002.jpg@01D13720.14E92580">cid:image002.jpg@01D13720.14E92580</a>]<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > _______________________________________________<br>
><br>
> > squid-users mailing list<br>
><br>
> >
<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-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
><br>
> > <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJWcH7uAAoJENNXIZxhPexGDbQH/RTjH2cN53mXTAzKsN/zCHD9
<br>
b5NfyQsqYHxctnWG1fpZScNubbUP2kwGMEZOd+7ZpImHpt73QktJ1irAgW4Zv5NW
<br>
sgraQaCYPDzw1nWOHtDGnHaTI6UWa3BYNHQ6KklauBPcF3TRTAXf1n90CdTFpY0R
<br>
3OjJUgGc1nSQhDUN+tCK42JGL02+JkOTSiaOiF/DIBm/Yzs9JzW6J0F5HWsRn5GH
<br>
mg++cFx6zBkRm/Av7mV493P1wQxdo0IywV/x1lpu9DSDz+VdsmQTFhD6BUO0eDvB
<br>
NZCNJIcfLkFmCpEhR0UCf8OUepLrClgClzSIMcpnwJaf9OEb27+vJ6mKywDSCJE=
<br>
=wvB9
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>