Add patch /check_phpfpm_status/10_pathes to make use of utils path
This commit is contained in:
		
							parent
							
								
									2c398c3d8d
								
							
						
					
					
						commit
						2ed4647fa9
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										17
									
								
								debian/patches/check_phpfpm_status/10_pathes
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								debian/patches/check_phpfpm_status/10_pathes
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
Author: Jan Wagner <waja@cyconet.org>
 | 
			
		||||
Description:
 | 
			
		||||
 Patches check_phpfpm_status to use debian specific paths.
 | 
			
		||||
 | 
			
		||||
diff --git a/check_phpfpm_status/check_phpfpm_status b/check_phpfpm_status/check_phpfpm_status
 | 
			
		||||
index ae2f68e..e2280a7 100644
 | 
			
		||||
--- a/check_phpfpm_status/check_phpfpm_status
 | 
			
		||||
+++ b/check_phpfpm_status/check_phpfpm_status
 | 
			
		||||
@@ -21,7 +21,7 @@ use Digest::MD5 qw(md5 md5_hex);
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
 # Nagios specific
 | 
			
		||||
-use lib "/usr/local/nagios/libexec";
 | 
			
		||||
+use lib "/usr/lib/nagios/plugins";
 | 
			
		||||
 use utils qw($TIMEOUT);
 | 
			
		||||
 
 | 
			
		||||
 # Globals
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1 +1,2 @@
 | 
			
		|||
check_tomcat/epn
 | 
			
		||||
check_phpfpm_status/10_pathes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue