Starting AppDynamics with play

I have a play that is fairly simple, to start AppDynamics. I am able to start/stop each part as needed, except a portion called EUM (End User Monitoring).

My test play looks like:

`

I used the “async” and “poll” options to work around this. So my trouble task now looks like:

`

  • name: start eum
    shell: bin/eum.sh start
    args:
    chdir: /opt/AppDynamics/EUEM/eum-processor/
    async: 30
    poll: 10

`

If I register the output as a variable and print it, it still only displays the “EUM Processor started…” line, but the EUM process is actually, as opposed to previously where it would not be fully started before the play ended.

Hope this helps someone else out!

You should not start the application like this, and as you have seen it mostly failes.
Create a file for you init system and start the application with the init system.

Good idea Kai, thank you.