loading ofbiz with upstart

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

loading ofbiz with upstart

Gintare Ragaisiene
Hi

I want my ofbiz start when the system (OS Ubuntu 10.04) starts. So I'm
using Upstart and I placed /etc/init/ofbiz.conf with content

# /etc/init/ofbiz.conf

description "OFBiz server"
author "Gintare Ragaisiene"

start on filesystem
stop on runlevel [06]

expect fork
respawn

script
    ant start
end script


After did reboot, and when I'm checking status:

initctl status ofbiz
ofbiz start/running, process 2198

But in my link http://uniquemades.com:8080/unique/control/main I see
nothing.
I have checked this link is working well when I just type "ant start" on
console.

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: loading ofbiz with upstart

Jacques Le Roux
Administrator
Did you look at
rc.ofbiz
rc.ofbiz.for.debian
rc.ofbiz.for.ubuntu
in tools dir ?

Jacques

From: "Gintare Ragaisiene" <[hidden email]>

> Hi
>
> I want my ofbiz start when the system (OS Ubuntu 10.04) starts. So I'm
> using Upstart and I placed /etc/init/ofbiz.conf with content
>
> # /etc/init/ofbiz.conf
>
> description "OFBiz server"
> author "Gintare Ragaisiene"
>
> start on filesystem
> stop on runlevel [06]
>
> expect fork
> respawn
>
> script
>    ant start
> end script
>
>
> After did reboot, and when I'm checking status:
>
> initctl status ofbiz
> ofbiz start/running, process 2198
>
> But in my link http://uniquemades.com:8080/unique/control/main I see
> nothing.
> I have checked this link is working well when I just type "ant start" on
> console.
>
> Thank you
>