need more info about release handler

Suresh S sureshsaragadam@REDACTED
Wed Dec 4 06:57:51 CET 2002


http://www.erlang.org/ml-archive/erlang-questions/200212/msg00009.html
> 
> might be a starting point.
> 
> If you want to make the code relocatable, you need
> to
> replace the 'local' option in systools:make_script()
> with {
> 
> 
>   Path = ["/home/..../dist_ac/lib/*/ebin"].
>   Var = {"MYAPP", "/home/.../dist_ac"}.
>   systools:make_script("hack", [{variables,[Var]},
>                                 {path, Path}]).
> 
> and then, when starting the nodes
> 
> erl -sname n1 -boot releases/1.0/hack -config \
> releases/1.0/sys -boot_var MYAPP /home/.../dist_ac
> 
> 
> You may then start by running the command
> 
>
systools:make_tar("hack",[{variables,...},{path,...}]).
> 
> i.e. the same options as for make_script. This will
> create a
> tarfile, including everything you need. This tarfile
> can be
> unpacked somewhere else with gtar.
> 
> A more thorough tutorial of this should of course be
> written. Hopefully, this will get you started.
> 
> /Uffe
> -- 
> Ulf Wiger, Senior Specialist,
>    / / /   Architecture & Design of Carrier-Class
> Software
>   / / /    Strategic Product & System Management
>  / / /     Ericsson Telecom AB, ATM Multiservice
> Networks
>

hi Ulf Wiger,

u have done a good job, which helps many beginers,
more over this suits my reqirement exactly,
this ref example  should work in my system ,

regards 

suresh s

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com



More information about the erlang-questions mailing list