[erlang-questions] Prompting before closing shell

Surindar Sivanesan surindar.shanthi@REDACTED
Thu Mar 8 05:21:54 CET 2007


Hi,

Thanks a lot, for all of your inputs.
I will try based on your suggestions.


On 3/8/07, Anders Ramsell <anders@REDACTED> wrote:
>
> Surindar Sivanesan wrote:
> > Hi,
> > Thanks for your suggestion.
> > Our server application need some initial settings to be done
> > after windows is booted. So, we cannot start erlang node as
> > service as far as our application is concerned.
>
> Yes you can. And, as suggested, you really should.
> Here's one way of doing it that would preserve your requirements
> for manual initial settings:
>
> 1. Install a service using erlsrv but don't set it to run any
>    code at start-up.
> 2. Place a werl short-cut on the desktop with access to a
>    user_default module with custom initialize and startup
>    commands. Internally these commands run code in the service
>    node using e.g. the rpc module.
> 3. Use the "maintenance shell" whenever you need to start,
>    configure, etc. your server.
> 4. Close "maintenance shell" when you are done.
> 5. Server keeps running in it's service.
>
> With well written and documented user_default commands the person
> using the "maintenance shell" doesn't even need to know any
> Erlang.
>
> We do something similar in our environment but we do start up the
> system on boot time.
>
> /Anders Ramsell
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



-- 
with regards,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070308/afc873e4/attachment.htm>


More information about the erlang-questions mailing list