Mod-Gearman Init Script
Posted: Wed Dec 13, 2017 5:21 am
Hi,
We have integrated Mod-Gearman with Nagios XI as per the steps found here: https://support.nagios.com/kb/article.php?id=225
We've noticed an issue with /etc/init.d/gearmand script. It isn't creating the /var/run/gearmand folder and therefore the pidfile (/var/run/gearmand/gearmand.pid) cannot be created.
Has anyone else seen that before?
I was able to workaround it by amending the script to create the folder but I'm not sure if that is the proper way to do it.
I've attached the original gearmand and my amended version.
Regards,
Andy
We have integrated Mod-Gearman with Nagios XI as per the steps found here: https://support.nagios.com/kb/article.php?id=225
We've noticed an issue with /etc/init.d/gearmand script. It isn't creating the /var/run/gearmand folder and therefore the pidfile (/var/run/gearmand/gearmand.pid) cannot be created.
Has anyone else seen that before?
I was able to workaround it by amending the script to create the folder but I'm not sure if that is the proper way to do it.
I've attached the original gearmand and my amended version.
Regards,
Andy