reduce messages
This commit is contained in:
		
							parent
							
								
									083f8de056
								
							
						
					
					
						commit
						146e5c4061
					
				| 
						 | 
					@ -127,7 +127,7 @@ if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
for server in apache2 httpd nginx; do
 | 
					for server in apache2 httpd nginx; do
 | 
				
			||||||
    if [ `which systemctl` ]; then
 | 
					    if [ `which systemctl 2< /dev/null` ]; then
 | 
				
			||||||
       if [ "`systemctl is-active ${server}.service`" = "active" ]; then
 | 
					       if [ "`systemctl is-active ${server}.service`" = "active" ]; then
 | 
				
			||||||
           systemctl reload ${server}.service
 | 
					           systemctl reload ${server}.service
 | 
				
			||||||
       fi
 | 
					       fi
 | 
				
			||||||
| 
						 | 
					@ -138,7 +138,7 @@ done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%postun
 | 
					%postun
 | 
				
			||||||
for server in apache2 httpd nginx; do
 | 
					for server in apache2 httpd nginx; do
 | 
				
			||||||
    if [ `which systemctl` ]; then
 | 
					    if [ `which systemctl 2< /dev/null` ]; then
 | 
				
			||||||
       if [ "`systemctl is-active ${server}.service`" = "active" ]; then
 | 
					       if [ "`systemctl is-active ${server}.service`" = "active" ]; then
 | 
				
			||||||
           systemctl reload ${server}.service
 | 
					           systemctl reload ${server}.service
 | 
				
			||||||
       fi
 | 
					       fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue