ejabberd - Comments for "Working as a service" https://www.ejabberd.im/node/1205 en Re: ejabberd1.1.2 as Windows Service https://www.ejabberd.im/node/1205#comment-2591 <p>You can use erlsrv in your ejabberd1.1.2/bin directory to add ejabberd as a Windows Service. See this post by Peterzt.</p> <p>From <noindex><a href="/node/1164" rel="nofollow" >http://www.ejabberd.im/node/1164</a></noindex> :</p> <div class="quote-msg"> <div class="quote-author"><em>Peterzt</em> wrote:</div> <p>I've missed ' chars on strings, so working version is:</p> <p>erlsrv add ejabberd -env ERL_MAX_PORT=32000 -env EJABBERD_MSGS_PATH="../lib/ejabberd-1.1.2/priv/msgs/" -env EJABBERD_CONFIG_PATH="../conf/ejabberd.cfg" -env EJABBERD_SO_PATH="../lib/ejabberd-1.1.2/priv/lib/windows/" -env EJABBERD_LOG_PATH="../logs/ejabberd.log" -w "E:\Program Files\ejabberd-1.1.2\bin" -sname ejabberd@localhost -args "-kernel inetrc '\"../conf/inetrc.win\"' -mnesia dir '\"../database/ejabberd\"' -sasl sasl_error_logger {file,'\"../logs/sasl.log\"'} -setcookie ejabberd -s ejabberd"</p> <p>erlsrv has very usefull -debugtype parameter which helped me. </p></div> Fri, 24 Nov 2006 15:04:45 +0000 mr kevin comment 2591 at https://www.ejabberd.im Thanks https://www.ejabberd.im/node/1205#comment-2586 <p>Thanks</p> Fri, 24 Nov 2006 00:50:22 +0000 Jordi J Morell comment 2586 at https://www.ejabberd.im AFAIR, the new(er) Windows https://www.ejabberd.im/node/1205#comment-2585 <p>AFAIR, the new(er) Windows installers do not yet support installing ejabberd as a service. You can use an older ejabberd version, you can build ejabberd yourself using the instructions in the Guide, or you can wait until support is added again (I guess this is on Process-One's TODO list).</p> <p>--<br /> sander</p> Thu, 23 Nov 2006 23:38:12 +0000 sander comment 2585 at https://www.ejabberd.im