fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Starting remote java processes


From: Jeff Forcier
Subject: Re: [Fab-user] Starting remote java processes
Date: Sun, 25 Nov 2012 17:40:57 -0800

Hi Dane,

On Wed, Nov 21, 2012 at 8:10 AM, Dane Brandon <address@hidden> wrote:
> Hi guys,
>
> I have a shell script that starts a java process by doing something like
> this:
>
> java -jar slave.jar -jnlpUrl
> http://$MASTER:8010/hudson/computer/$HOSTNAME/slave-agent.jnlp
>
> When I fire the script remotely via fabric, it shows output and returns
> without error but the server is not started. I've also tried using nohup.
> Any ideas how this could happen?

Did you run across this yet?

    http://docs.fabfile.org/en/1.5/faq.html#init-scripts-don-t-work

That FAQ does mention nohup, but I've heard conflicting reports in the
past that it's not actually reliable. I'd suggest trying
daemontools/supervisord/upstart to see if those work better.

Best,
Jeff


>
> Thanks,
> Dane
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]