Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
Description: Fix ARGV[0] to not contain the interpreter
Index: nagzilla-1.5.5-1/nagzillad.pl
===================================================================
--- nagzilla-1.5.5-1.orig/nagzillad.pl
+++ nagzilla-1.5.5-1/nagzillad.pl
@@ -21,6 +21,8 @@ $CONFDIR = "/etc/nagzillad";
# DO NOT EDIT ANYTHING BEYOND THIS POINT!!
+$0.=''; # so that the init script is able to detect the process
+
##############Config File Setup#####################
Config::Simple->import_from('nagzillad.cfg', \%Config);
$cfg = new Config::Simple("$CONFDIR/nagzillad.cfg");