/[smeserver]/rpms/e-smith-proxy/sme10/e-smith-proxy-5.6.0-bz11454-pidfile.patch
ViewVC logotype

Annotation of /rpms/e-smith-proxy/sme10/e-smith-proxy-5.6.0-bz11454-pidfile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Feb 6 05:06:10 2023 UTC (16 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: e-smith-proxy-5_6_0-12_el7_sme, HEAD
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme
- fix issues where pid file is not removed [SME: 11454]

1 jpp 1.1 diff -Nur --no-dereference e-smith-proxy-5.6.0.old/root/etc/e-smith/templates/etc/squid/squid.conf/20PidFilename e-smith-proxy-5.6.0/root/etc/e-smith/templates/etc/squid/squid.conf/20PidFilename
2     --- e-smith-proxy-5.6.0.old/root/etc/e-smith/templates/etc/squid/squid.conf/20PidFilename 2006-03-15 16:08:21.000000000 -0500
3     +++ e-smith-proxy-5.6.0/root/etc/e-smith/templates/etc/squid/squid.conf/20PidFilename 2023-02-06 00:00:31.709000000 -0500
4     @@ -1,3 +1,3 @@
5     {
6     - $OUT = "pid_filename /var/log/squid/squid.pid";
7     + $OUT = "pid_filename /run/squid/squid.pid";
8     }
9     diff -Nur --no-dereference e-smith-proxy-5.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/squid.service.d/50koozali.conf/40service e-smith-proxy-5.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/squid.service.d/50koozali.conf/40service
10     --- e-smith-proxy-5.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/squid.service.d/50koozali.conf/40service 2023-02-05 23:58:44.354000000 -0500
11     +++ e-smith-proxy-5.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/squid.service.d/50koozali.conf/40service 2023-02-06 00:01:54.866000000 -0500
12     @@ -5,6 +5,7 @@
13     $OUT .= $squid{MaxFileDesc} || 4096;
14     $OUT .= "\n";
15     }
16     +PIDFile=/run/squid/squid.pid
17     # squid option -s ---->> $SQUID_OPTS
18     ExecStartPre=/sbin/e-smith/service-status squid
19     User=root

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed