<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi</div><div><br></div><div>How does release_handler get the info of the current release?</div><div>Is it possible to copy only parts of a release and use it on another machine with an erlang installation</div><div>but still be able to use hot code upgrades?</div><div><br></div><div>I'm creating a deb package from a release generated with rebar.</div><div>I copy myapp, the releases folder and a modified start script to /usr/lib/ in the install file of the deb package:<br></div><div>../../myapp/rel/myapp/lib/myapp* /usr/lib/myapp/lib<br>../../myapp/rel/myapp/releases /usr/lib/myapp<br>usr/lib/myapp/bin</div><div><br>The myapp/bin/myapp script is updated with the new paths.</div><div><br></div><div>I'm able to install and run myapp but release_handler:which_releases() show the info of the default erlang runtime instead of my
release.</div><div>How can I fix it?</div><div><br></div><div>Thanks<br></div></div></body></html>