Dear Team,
Please get me a startup script for "Machine Agent" for Linux.
.
I have tried giving "java -jar <MACHINE_AGENT_HOME>/machineagent.jar" but once i close the window, Machine agent is getting stopped automatically.
Request to provide a script which keeps Machine Agent running even though if I close the Window.
Thanks.
Kind Regards,
Zia
Hi Zia,
One way to run machine agent as background java process is:
shell> nohup java -jar <machienagent_dir>/machienagent.jar &
Other alternative is to add add above similar command in sh file and add the .sh file path in /etc/rc/local similar path to run on startup of machine, Hope that information helps
Regards,
Arun