Hi,

Let's assume you use Tomcat as a Java Container. When you install tomcat
from the repositories, you install also a script to start the Java
Container, it's usually /etc/init.d/tomcat6
As Louis-Marie said, you can also use Xinit for that, it's a replacement of
that tomcat6 file, but it's only working on tomcat installation not made
from a repository (so it won't work if you installed it using APT (deb
file) or YUM (rpm file)). It only works for tar.gz installations of tomcat
you can found on the official website.

But after that, to auto start the tomcat instance, it greatly depends on
your linux distribution. If it's a debian for example, you need to look at
update-rc.d binaries and manual pages.
So xwiki auto-start feature is absolutely not a "xwiki feature" but a job
for your Java Container, depending on your Linux distribution.

Hope it's clearer now.

Guillaume Fenollar


2013/12/16 Guillaume "Louis-Marie" Delhumeau <[email protected]>

> Hi.
>
> You can also use
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Xinit. It is
> developed by our infrastructure team.
>
> LM
>
>
> 2013/12/16 [email protected] <[email protected]>
>
> >
> > Just google on how to start a process automatically on unix… (using
> > /etc/init.d for example).
> >
> > Thanks
> > -Vincent
> >
> > On 16 Dec 2013 at 15:12:45, MaryJane ([email protected](mailto://
> > [email protected])) wrote:
> >
> > > hi all!
> > > how can I set XWiki so that it starts automatically? (on linux)
> > > tnx
> >
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to