i think redhat-lsb is required. otherwise the its /etc/init.d/functions ,
shell functions available in /etc/init.d/functions are slightly different from what debian/ubuntu provides. also debian uses start-stop-daemon binary while redhat based distros uses the daemon function.
On Fri, Feb 10, 2012 at 7:00 PM, Bryan Berry < " target="_blank"> > wrote:I have written a system v init script for Apache Tomcat using functions /lib/lsb/init-functions. Theoretically this same init script should work on Ubuntu as well, provided I swap out /etc/sysconfig/tomcat for /etc/default/tomcatÂAnybody know of any potential pitfalls of this approach? I imagine it is well-trod ground.Does lsb/init-functions require 'redhat-lsb' be installed on all EL vms? and similarly does it come by default in Debian or require an additional package?
Archive powered by MHonArc 2.6.16.