Hi Dane,

On Wed, Nov 21, 2012 at 8:10 AM, Dane Brandon <[email protected]> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user
>



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

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to