Hi Luca,

I am using the attached script on some systems, which is obviously very
simple but it works. The problem with upstart is that somehow the PID
tracking does neither work with normal nor fork mode. I have not narrowed
it down yet.

Fabian

On Tue, Dec 1, 2015 at 10:21 AM, lb <lburgazz...@gmail.com> wrote:

> Hi Fabian, JB,
>
> beside my attempt to migrate the wrapper from Tanuki to YAJSW, I'm also
> working on a set of scripts for systemd, init.d, solaris smf and windows to
> start karaf without the wrapper so I think it would be nice to collect
> requirement, attention points and so on in a JIRA and provides such
> templates in karaf distribution (i.e. in docs/contrib/scripts).
>
> What do you think ?
>
> Regards,
> Luca
>
>
> On Mon, Nov 30, 2015 at 11:03 AM, Jean-Baptiste Onofré <j...@nanthrax.net>
> wrote:
>
> > Hi Fabian,
> >
> > I added systemd support in JSW wrapper.
> >
> > I don't see any blocker to use start/stop/status scripts in systemd (or
> > SystemV). Of course, we can improve those scripts to have a better usage
> > via systemd. Please, if you can describe the improvements in a Jira, I
> will
> > enhance it.
> >
> > Thanks,
> > Regards
> > JB
> >
> >
> > On 11/30/2015 10:56 AM, Fabian Lange wrote:
> >
> >> Hi,
> >> I know that there is extensive support in Karaf for using Tanuki to
> >> install
> >> Karaf as service.
> >>
> >> I have received however comments that it is difficult to use the
> existing
> >> scripts:
> >> start/stop/status
> >>
> >> in an upstart or systemd manner.
> >> As far As i can tell one of the problems is how Karaf handles PIDs.
> >>
> >> Does anybody have working scripts? Or can we improve here to make this
> an
> >> option besides Tanuki?
> >>
> >> Best regards,
> >> Fabian
> >>
> >>
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>

Reply via email to