SOURCES: clamav-pld_config.patch, clamav.init - remove stale socke...

glen glen at pld-linux.org
Sun Nov 5 17:56:12 CET 2006


Author: glen                         Date: Sun Nov  5 16:56:12 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove stale socket in config

---- Files affected:
SOURCES:
   clamav-pld_config.patch (1.11 -> 1.12) , clamav.init (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SOURCES/clamav-pld_config.patch
diff -u SOURCES/clamav-pld_config.patch:1.11 SOURCES/clamav-pld_config.patch:1.12
--- SOURCES/clamav-pld_config.patch:1.11	Sun Nov  5 16:21:20 2006
+++ SOURCES/clamav-pld_config.patch	Sun Nov  5 17:56:07 2006
@@ -1,5 +1,5 @@
---- clamav-0.90rc2/etc/clamd.conf	2006-10-29 00:25:26.000000000 +0300
-+++ clamav-0.90rc2.pld/etc/clamd.conf	2006-11-05 17:18:53.305030378 +0200
+--- clamav-0.90rc2.pld/etc/clamd.conf	2006-11-05 17:18:53.305030378 +0200
++++ clamav-0.90rc2/etc/clamd.conf	2006-11-05 18:53:11.342468909 +0200
 @@ -5,13 +5,13 @@
  
  
@@ -34,7 +34,7 @@
  
  # Optional path to the global temporary directory.
  # Default: system specific (usually /tmp or /var/tmp).
-@@ -69,7 +69,7 @@
+@@ -69,11 +69,11 @@
  
  # Path to a local socket file the daemon will listen on.
  # Default: disabled (must be specified by a user)
@@ -42,6 +42,11 @@
 +LocalSocket /var/lib/clamav/clamd.socket
  
  # Remove stale socket after unclean shutdown.
+ # Default: no
+-#FixStaleSocket yes
++FixStaleSocket yes
+ 
+ # TCP port address.
  # Default: no
 @@ -141,11 +141,11 @@
  

================================================================
Index: SOURCES/clamav.init
diff -u SOURCES/clamav.init:1.13 SOURCES/clamav.init:1.14
--- SOURCES/clamav.init:1.13	Sun Nov  5 17:33:35 2006
+++ SOURCES/clamav.init	Sun Nov  5 17:56:07 2006
@@ -21,7 +21,6 @@
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/clamd ]; then
 		msg_starting clamd
-		rm -f /var/lib/clamav/clamd.socket
 		daemon /usr/sbin/clamd
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/clamd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/clamav-pld_config.patch?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/SOURCES/clamav.init?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list