1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

updating docs

This commit is contained in:
ainsley
2019-09-23 17:51:02 -05:00
parent 98d03750cd
commit 979378c81c
163 changed files with 11005 additions and 553 deletions

View File

@@ -1504,6 +1504,32 @@
</li>
<li class="chapter " data-level="5.3.5" data-path="../../nats_tools/nsc/revocation.html">
<a href="../../nats_tools/nsc/revocation.html">
Revocation
</a>
</li>
<li class="chapter " data-level="5.3.6" data-path="../../nats_tools/nsc/managed.html">
<a href="../../nats_tools/nsc/managed.html">
Managed Operators
</a>
</li>
@@ -2555,7 +2581,7 @@
<h1 id="windows-service"><a name="windows-service" class="plugin-anchor" href="#windows-service"><i class="fa fa-link" aria-hidden="true"></i></a>Windows Service</h1>
<p>The NATS Streaming Server supports running as a Windows service. There is currently no installer and instead users should use <code>sc.exe</code> to install the service.</p>
<p>Here is how to create and start a NATS Streaming Server named <code>nats-streaming-server</code>. Note that the server flags should be passed in when creating the service.</p>
<pre class="language-"><code class="lang-sh">sc.exe create nats-streaming-server binPath<span class="token operator">=</span><span class="token string">&quot;\&quot;&lt;streaming server path&gt;\nats-streaming-server.exe\&quot; [NATS Streaming flags]&quot;</span>
<pre class="language-"><code class="lang-sh">sc.exe create nats-streaming-server <span class="token assign-left variable">binPath</span><span class="token operator">=</span><span class="token string">&quot;<span class="token entity" title="\&quot;">\&quot;</span>&lt;streaming server path&gt;<span class="token entity" title="\n">\n</span>ats-streaming-server.exe<span class="token entity" title="\&quot;">\&quot;</span> [NATS Streaming flags]&quot;</span>
sc.exe start nats-streaming-server
</code></pre>
<p>You can create several instances, giving it a unique name. For instance, this is how you would create two services, named <code>nss1</code> and <code>nss2</code>, each one with its own set of parameters.</p>
@@ -2613,7 +2639,7 @@ sc.exe create nss2 binPath=&quot;\&quot;c:\nats-io\nats-streaming\nats-streaming
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Windows Service","level":"8.6","depth":1,"next":{"title":"Embedding NATS Streaming Server","level":"8.7","depth":1,"path":"developer/streaming/embedding.md","ref":"developer/streaming/embedding.md","articles":[]},"previous":{"title":"Process Signaling","level":"8.5","depth":1,"path":"nats_streaming/gettingstarted/process-signaling.md","ref":"nats_streaming/gettingstarted/process-signaling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"nats_streaming/gettingstarted/windows-service.md","mtime":"2019-05-30T22:52:52.330Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-05T21:19:53.626Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Windows Service","level":"8.6","depth":1,"next":{"title":"Embedding NATS Streaming Server","level":"8.7","depth":1,"path":"developer/streaming/embedding.md","ref":"developer/streaming/embedding.md","articles":[]},"previous":{"title":"Process Signaling","level":"8.5","depth":1,"path":"nats_streaming/gettingstarted/process-signaling.md","ref":"nats_streaming/gettingstarted/process-signaling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"nats_streaming/gettingstarted/windows-service.md","mtime":"2019-09-23T22:49:18.492Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-23T22:50:08.961Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>