|  | @@ -63,8 +63,8 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
 | 
	
		
			
			| 63 | 63 |              sed -i "s|access_log.*|access_log /var/log/nginx/$filename_domain.access.log;|g" $filename
 | 
	
		
			
			| 64 | 64 |              sed -i "s|error_log.*|error_log /var/log/nginx/$filename_domain.err.log $WEBSERVER_LOG_LEVEL;|g" $filename
 | 
	
		
			
			| 65 | 65 |          done
 | 
	
		
			
			| 66 |  | -        sed -i 's|access_log.*|access_log = /var/log/nginx/access.log;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			| 67 |  | -        sed -i 's|error_log.*|error_log = /var/log/nginx/error.log;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			|  | 66 | +        sed -i 's|access_log.*|access_log /var/log/nginx/access.log;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			|  | 67 | +        sed -i 's|error_log.*|error_log /var/log/nginx/error.log;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			| 68 | 68 |      fi
 | 
	
		
			
			| 69 | 69 |      if [ -f /etc/init.d/spamassassin ]; then
 | 
	
		
			
			| 70 | 70 |          sed -i 's|DOPTIONS="-s null -d --pidfile=$PIDFILE"|DOPTIONS="-d --pidfile=$PIDFILE"|g' /etc/init.d/spamassassin
 | 
	
	
		
			
			|  | @@ -122,8 +122,8 @@ else
 | 
	
		
			
			| 122 | 122 |              sed -i 's|warn_log.*|warn_log /dev/null;|g' $filename
 | 
	
		
			
			| 123 | 123 |              sed -i 's|error_log.*|error_log /dev/null;|g' $filename
 | 
	
		
			
			| 124 | 124 |          done
 | 
	
		
			
			| 125 |  | -        sed -i 's|access_log.*|access_log = /dev/null;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			| 126 |  | -        sed -i 's|error_log.*|error_log = /dev/null;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			|  | 125 | +        sed -i 's|access_log.*|access_log /dev/null;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			|  | 126 | +        sed -i 's|error_log.*|error_log /dev/null;|g' /etc/nginx/nginx.conf
 | 
	
		
			
			| 127 | 127 |          shred -zu /var/log/nginx/*
 | 
	
		
			
			| 128 | 128 |      fi
 | 
	
		
			
			| 129 | 129 |      if [ -f /etc/init.d/spamassassin ]; then
 |