Erlang/OTP Forums

Author Message

<  Erlang  ~  Erlang as Service on Windows

joshk6656
Posted: Wed Nov 12, 2008 11:43 pm Reply with quote
Joined: 12 Nov 2008 Posts: 1
I am looking for some advice on configuring erlang to run as service.

As of right now I can register the service, but I am looking to make it run a command.

Specifically overseer:start_link(5000).

I have tried the following:

erlsrv add servicename - adds the service

Now the parameter i want the service to pass to init is what im not sure of. I have tried both

erlsrv set servicename -ar "run overseer start_link 5000"
erlsrv set servicename -ar "s overseer start_link 5000"

any help is appreciated
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum