diff --git a/debian/patches/check_phpfpm_status/10_pathes b/debian/patches/check_phpfpm_status/10_pathes new file mode 100644 index 0000000..20e6438 --- /dev/null +++ b/debian/patches/check_phpfpm_status/10_pathes @@ -0,0 +1,17 @@ +Author: Jan Wagner +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 diff --git a/debian/patches/series b/debian/patches/series index 936d40e..ad6633e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ check_tomcat/epn +check_phpfpm_status/10_pathes