Hello,
I was playing with apache's init scripts a bit (as I needed to have
multiple apache instances) and after this little investigation I think
that LSB functions "/etc/init.d/functions" doesn't properly regard the
philosophy of RHEL's init scripts (e.g. apache).

The problem I see is "lockfile" parameter in /etc/init.d/httpd which can
be overridden in "/etc/sysconfig/httpd" but if I try to change it then
this customized lockfile is not further properly handled in
"/etc/init.d/functions" what leads to inappropriate behavior while
calling "service httpd status" while service is killed.

Thus I can define my own lockfile parameter for httpd daemon, start
service, killall httpd, service httpd status ->  httpd is stopped

Please let me know what you think about this

Thanks ;)

Tomas

-- 
Work like you don't need the money
dance like no one is watching
sing like no one is listening
love like you've never been hurt
and live life every day as if it were your last

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to