aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-01 23:44:18 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-01 23:44:18 +0200
commitbc5d828943f491f0a37d449d50feb6e90c4bcece (patch)
treee5bf1a9d3da728e0c22e9cebd1ec92899906f216 /config/squid3/34
parentaa8c01713625a51fec2d8cc6d12d9a4c4f5ce94d (diff)
downloadpfsense-packages-bc5d828943f491f0a37d449d50feb6e90c4bcece.tar.gz
pfsense-packages-bc5d828943f491f0a37d449d50feb6e90c4bcece.tar.bz2
pfsense-packages-bc5d828943f491f0a37d449d50feb6e90c4bcece.zip
Do not use the c-icap rcfile to stop c-icap when AV is being disabled - the rcfile may not exist
Diffstat (limited to 'config/squid3/34')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index acc029c3..c189d716 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -2328,7 +2328,7 @@ function squid_restart_antivirus() {
// check c-icap rcfile
if (is_process_running("c-icap")) {
log_error("Stopping and disabling C-ICAP...");
- mwexec_bg("/usr/local/etc/rc.d/c-icap.sh stop");
+ mwexec('/bin/echo -n "stop" > /var/run/c-icap/c-icap.ctl');
}
unlink_if_exists("/usr/local/etc/rc.d/c-icap");
unlink_if_exists("/usr/local/etc/rc.d/c-icap.sh");