This commit is contained in:
erikjohnston 2023-01-13 14:15:25 +00:00
parent 2323166a75
commit ba9d92cce0
4 changed files with 30 additions and 2 deletions

View file

@ -6919,6 +6919,20 @@ other workers.</p>
- names: [client, federation]
</code></pre>
<hr />
<h3 id="worker_manhole"><a class="header" href="#worker_manhole"><code>worker_manhole</code></a></h3>
<p>A worker may have a listener for <a href="usage/configuration/../../manhole.html"><code>manhole</code></a>.
It allows server administrators to access a Python shell on the worker.</p>
<p>Example configuration:</p>
<pre><code class="language-yaml">worker_manhole: 9000
</code></pre>
<p>This is a short form for:</p>
<pre><code class="language-yaml">worker_listeners:
- port: 9000
bind_addresses: ['127.0.0.1']
type: manhole
</code></pre>
<p>It needs also an additional <a href="usage/configuration/config_documentation.html#manhole_settings"><code>manhole_settings</code></a> configuration.</p>
<hr />
<h3 id="worker_daemonize"><a class="header" href="#worker_daemonize"><code>worker_daemonize</code></a></h3>
<p>Specifies whether the worker should be started as a daemon process.
If Synapse is being managed by <a href="usage/configuration/../../systemd-with-workers/">systemd</a>, this option

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -3582,6 +3582,20 @@ other workers.</p>
- names: [client, federation]
</code></pre>
<hr />
<h3 id="worker_manhole"><a class="header" href="#worker_manhole"><code>worker_manhole</code></a></h3>
<p>A worker may have a listener for <a href="../../manhole.html"><code>manhole</code></a>.
It allows server administrators to access a Python shell on the worker.</p>
<p>Example configuration:</p>
<pre><code class="language-yaml">worker_manhole: 9000
</code></pre>
<p>This is a short form for:</p>
<pre><code class="language-yaml">worker_listeners:
- port: 9000
bind_addresses: ['127.0.0.1']
type: manhole
</code></pre>
<p>It needs also an additional <a href="#manhole_settings"><code>manhole_settings</code></a> configuration.</p>
<hr />
<h3 id="worker_daemonize"><a class="header" href="#worker_daemonize"><code>worker_daemonize</code></a></h3>
<p>Specifies whether the worker should be started as a daemon process.
If Synapse is being managed by <a href="../../systemd-with-workers/">systemd</a>, this option