Hello,

On Mon, Mar 26, 2018 at 9:13 AM, Casper Pedersen
<casperghs...@fastmail.fm> wrote:
> Hi,
>
> The init.d start up script which is being distributed by many, is having the 
> following test:
>
> # Source function library.
> if [ -x /etc/rc.d/init.d/functions ]; then
> . /etc/rc.d/init.d/functions
> fi
>
> That will not work correctly on RHEL as on RHEL this file is read only (not 
> executable).

This list (dev@tomcat) isn't the best place to get help with distro
specific tomcat packages as the tomcat community is upstream from
those distributions. For future reference, please file a bug in the
tracker used by the offending distribution. More to the problem, which
distributions are you referring to? The only place sysv is still used
is in rhel-6, which now uses /lib/lsb/init-functions.

> Was also discussed here: 
> https://roosbertl.blogspot.com/2011/12/tomcat7-on-centos7-right-way.html?showComment=1366685221068#c9019320598583823471
>  
> <https://roosbertl.blogspot.com/2011/12/tomcat7-on-centos7-right-way.html?showComment=1366685221068#c9019320598583823471>

That article is from 2011, and (after a quick glance) provides
instructions on how to create your own init script :)

>
> The file might have been executable in earlier version but with RHEL 6 and 7 
> this is no longer the case.
>
>
> Thank you,
>
> Casper

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to