summary refs log tree commit diff
path: root/develop/synctl_workers.html
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
commit6b78680875d9e721d46e4f3d34047c6a3fbd2f33 (patch)
treed64455b2305504485a55d2fec294620c72e6398d /develop/synctl_workers.html
parentdeploy: e320f5dba32f5b5818b6d5a0059ae388430b9a72 (diff)
downloadsynapse-6b78680875d9e721d46e4f3d34047c6a3fbd2f33.tar.xz
deploy: ece84f2c450d986e54acc80971225fb02f4e1d05
Diffstat (limited to 'develop/synctl_workers.html')
-rw-r--r--develop/synctl_workers.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/develop/synctl_workers.html b/develop/synctl_workers.html
index 9f3b3c8077..38147da9e3 100644
--- a/develop/synctl_workers.html
+++ b/develop/synctl_workers.html
@@ -196,14 +196,14 @@ synchrotron, you might write:</p>
 <p>Finally, to actually run your worker-based synapse, you must pass synctl the <code>-a</code>
 commandline option to tell it to operate on all the worker configurations found
 in the given directory, e.g.:</p>
-<pre><code>synctl -a $CONFIG/workers start
+<pre><code class="language-sh">synctl -a $CONFIG/workers start
 </code></pre>
 <p>Currently one should always restart all workers when restarting or upgrading
 synapse, unless you explicitly know it's safe not to.  For instance, restarting
 synapse without restarting all the synchrotrons may result in broken typing
 notifications.</p>
 <p>To manipulate a specific worker, you pass the -w option to synctl:</p>
-<pre><code>synctl -w $CONFIG/workers/worker1.yaml restart
+<pre><code class="language-sh">synctl -w $CONFIG/workers/worker1.yaml restart
 </code></pre>
 
                     </main>