<div dir="ltr"><div><div><div>Hi!<br><br></div>The standalone distribution has init scripts for RedHat/CentOS and Debian under bin/init.d. I have successfully used the script for RedHat without any problems. Just copy or link the file under /etc/init.d and use chkconfig to enable it.<br><br></div>Best regards,<br></div>Thomas<br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 10:01 PM, Remi Cartier <span dir="ltr"><<a href="mailto:remi.cartier@imetrik.com" target="_blank">remi.cartier@imetrik.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Marek,
<div><br>
</div>
<div>I am running the service on a linux box.</div>
<div>I was wondering if there was a setup with the standalone configuration, but it seems I need to go the wildfly way.</div>
<div><br>
</div>
<div>thank you.<span class=""><br>
<div><br>
<hr style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px;border:0px;width:320px;min-height:1px;background-color:rgb(64,174,73)" align="left">
<p class="MsoNormal" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0cm 0cm 1pt">
<br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px">
<span style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;text-transform:uppercase">REMI CARTIER</span><br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px">
</p>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="text-align:-webkit-auto;line-height:14px"><font face="Helvetica, Arial, sans-serif" color="#666666">B.O.S.S. (Business & Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px;text-transform:uppercase">IMETRIK
GLOBAL INC.</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">T
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
514 448-6407 x2009</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">T
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
866 276-5382 (toll free) </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">F
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
514 904-0611 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">740
Notre Dame St. West, Suite 1575 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">Montreal,
Quebec, Canada H3C 3X6 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<a href="http://www.imetrik.com/" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px" target="_blank">imetrik.com</a>
</div>
<br>
</span><div><div class="h5"><div>
<blockquote type="cite">
<div>On Oct 7, 2015, at 2:59 PM, Marek Posolda <<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>> wrote:</div>
<br>
<div>
<div text="#000000" bgcolor="#FFFFFF">
<div>Are you using Linux or other OS? I think that generally the service setup is specific to OS . Here are some instructions for Wildfly on Linux I found during quick googline:
<a href="http://developer-should-know.tumblr.com/post/112230363742/how-to-install-wildfly-as-a-service-on-linux" target="_blank">
http://developer-should-know.tumblr.com/post/112230363742/how-to-install-wildfly-as-a-service-on-linux</a> . Maybe there are more proper ones somewhere else (maybe Wildfly docs).<br>
<br>
Anyway, I don't think that service setup is Keycloak specific stuff. You can find any instructions for "generic" Wildfly server for your OS and just use them for the Wildfly instance with Keycloak.<br>
<br>
Marek<br>
<br>
On 07/10/15 20:06, Remi Cartier wrote:<br>
</div>
<blockquote type="cite">
Quick question.
<div><br>
</div>
<div>what would be the best way to setup a keycloak instance to run as a service ?</div>
<div>I have setup the server as a standalone instance right now, but it needs a screen to run.</div>
<div>I have no wildfly instance running anywhere else in my stack.</div>
<div><br>
</div>
<div>thanks for your time !<br>
<div><br>
<hr style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px;border:0px;width:320px;min-height:1px;background-color:rgb(64,174,73)" align="left">
<p class="MsoNormal" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0cm 0cm 1pt">
<br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px">
<span style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;text-transform:uppercase">REMI CARTIER</span><br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px">
</p>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="text-align:-webkit-auto;line-height:14px"><font face="Helvetica, Arial,
sans-serif" color="#666666">B.O.S.S. (Business & Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px;text-transform:uppercase">IMETRIK
GLOBAL INC.</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">T
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
514 448-6407 x2009</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">T
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
866 276-5382 (toll free) </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<b style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">F
:</b><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px"> +1
514 904-0611 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">740
Notre Dame St. West, Suite 1575 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">Montreal,
Quebec, Canada H3C 3X6 </span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px">
<a href="http://www.imetrik.com/" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px" target="_blank">imetrik.com</a>
</div>
<br>
</div>
<br>
<fieldset></fieldset> <br>
<pre>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b>Thomas Raehalme</b></div><div><i>CTO, teknologiajohtaja</i></div><div>Mobile +358 40 545 0605</div><div><br></div><div><b>Aitio Finland Oy</b></div><div>Väinönkatu 26 A</div><div>40100 JYVÄSKYLÄ, Finland</div><div>Tel. +358 10 322 0040</div><div><a href="http://www.codecenter.fi" target="_blank">www.aitiofinland.com</a></div><div><pre cols="72" style="white-space:pre-wrap;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><div style="white-space:normal;font-family:arial,sans-serif"><span style="background-color:rgb(230,145,56)"><font color="#cc0000"><b><span style="background-color:rgb(255,255,255)"><span></span><span style="color:rgb(230,145,56)">Codecenter on nyt Aitio – me kun ei <span></span>vain koodata!</span></span></b></font></span></div></pre></div></div></div></div></div></div></div></span></div></div>
</div></div>