systemd vice SysV/LSB init systems - what next ?
Nicolas Mailhot
nicolas.mailhot at laposte.net
Tue Jul 19 21:33:11 UTC 2011
Le mardi 19 juillet 2011 à 11:37 -0800, Jeff Spaleta a écrit :
> On Tue, Jul 19, 2011 at 11:31 AM, Stijn Hoop <stijn at sandcat.nl> wrote:
> > In other words, why should the package tomcat6 not provide a
> > better /usr/bin/tomcat6 "binary" (or shell script, or whatever) that
> > can work out on its own whether to multi-instantiate?
>
>
> In this case the executable in question is in fact a bash script that
> appears to be a distro-specific enhancement...but an upstream
> deliverable.
Yes tomcat has several layers of stuff that grew over time and try to
integrate the java code in the system as a normal service (heretical
wish)
> So it definitely appears as if the distro maintainer for this package
> have the leeway to move the functions into the "wrapper" executable
> script instead of letting them linger in the init "config"
All this code is here just to instanciate the service and do the related
housekeeping. It does not belong in a separate script any more or less
than the rest of the sysv stuff. That example just shows the sysv setup
was flexible enough to handle complex multi-instanciated setups and
systemd so far isn't
--
Nicolas Mailhot
More information about the devel
mailing list