mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-29 18:08:31 +00:00
Generate documentation
This commit is contained in:
parent
ab7fea83b4
commit
deba268c4b
4 changed files with 18 additions and 18 deletions
6
v3.html
6
v3.html
|
@ -449,7 +449,7 @@ service. (Run
|
|||
<code>useradd --system --user-group --home-dir / --shell /sbin/nologin radicale</code>
|
||||
as root.) The storage folder must be writable by
|
||||
<strong>radicale</strong>. (Run
|
||||
<code>mkdir -p /var/lib/radicale/collections && chown -R radicale:radicale /var/lib/radicale/collections</code>
|
||||
<code>mkdir -p /var/lib/radicale/collections && chown -R radicale:radicale /var/lib/radicale/collections</code>
|
||||
as root.)</p>
|
||||
<blockquote>
|
||||
<p><strong>Security:</strong> The storage should not be readable by
|
||||
|
@ -773,7 +773,7 @@ of the user running <code>radicale</code> daemon.</p>
|
|||
<span id="cb31-21"><a aria-hidden="true" href="#cb31-21" tabindex="-1"></a><span class="op">END</span></span></code></pre></div>
|
||||
<p>The configuration option <code>hook</code> in the
|
||||
<code>storage</code> section must be set to the following command:</p>
|
||||
<div class="sourceCode" id="cb32"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb32-1"><a aria-hidden="true" href="#cb32-1" tabindex="-1"></a><span class="fu">git</span> add <span class="at">-A</span> <span class="kw">&&</span> <span class="kw">(</span><span class="fu">git</span> diff <span class="at">--cached</span> <span class="at">--quiet</span> <span class="kw">||</span> <span class="fu">git</span> commit <span class="at">-m</span> <span class="st">"Changes by </span><span class="dt">\"</span><span class="st">%(user)s</span><span class="dt">\"</span><span class="st">"</span><span class="kw">)</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb32"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb32-1"><a aria-hidden="true" href="#cb32-1" tabindex="-1"></a><span class="fu">git</span> add <span class="at">-A</span> <span class="kw">&&</span> <span class="kw">(</span><span class="fu">git</span> diff <span class="at">--cached</span> <span class="at">--quiet</span> <span class="kw">||</span> <span class="fu">git</span> commit <span class="at">-m</span> <span class="st">"Changes by </span><span class="dt">\"</span><span class="st">%(user)s</span><span class="dt">\"</span><span class="st">"</span><span class="kw">)</span></span></code></pre></div>
|
||||
<p>The command gets executed after every change to the storage and
|
||||
commits the changes into the <strong>git</strong> repository.</p>
|
||||
<p>Log of <code>git</code> can be investigated using</p>
|
||||
|
@ -1957,7 +1957,7 @@ by Ákos Szőts and Rueckert</li>
|
|||
<li><a href="http://code.activestate.com/pypm/radicale/">PyPM</a></li>
|
||||
<li><a href="http://schoepfer.info/slackware.xhtml#packages-network">Slackware</a>
|
||||
by Johannes Schöpfer</li>
|
||||
<li><a href="http://packages.trisquel.info/search?searchon=names&keywords=radicale">Trisquel</a></li>
|
||||
<li><a href="http://packages.trisquel.info/search?searchon=names&keywords=radicale">Trisquel</a></li>
|
||||
<li><a href="http://packages.ubuntu.com/radicale">Ubuntu</a> by the MOTU
|
||||
and Jonas Smedegaard</li>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue