Actualiser opencloud/install.md

This commit is contained in:
2026-02-03 12:16:23 +00:00
parent fb6c4688b5
commit 212f05eeeb

View File

@@ -79,7 +79,7 @@ We will then later change it to the actual domain.<br>
nano<code>/etc/systemd/system/opencloud.service</code><br> nano<code>/etc/systemd/system/opencloud.service</code><br>
with the contents:</li> with the contents:</li>
</ul> </ul>
<pre data-code-wrap="ini"><code class="lang-ini">[Unit] <pre><code>[Unit]
Description=OpenCloud Service Description=OpenCloud Service
After=network.target After=network.target
@@ -97,8 +97,8 @@ StandardOutput=journal
StandardError=journal StandardError=journal
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target</code>
</code></pre> </pre>
<p><strong>Dont start the service yet!</strong></p> <p><strong>Dont start the service yet!</strong></p>
<p>First we need to initialize opencloud, it also needs to use our <code>.env</code> file for the init to create the files in the correct places.</p> <p>First we need to initialize opencloud, it also needs to use our <code>.env</code> file for the init to create the files in the correct places.</p>
<pre data-code-wrap="bash"><code class="lang-bash">sudo -u opencloud env $(cat /mnt/dietpi_userdata/opencloud/config/config.env | xargs) /opt/opencloud/opencloud init <pre data-code-wrap="bash"><code class="lang-bash">sudo -u opencloud env $(cat /mnt/dietpi_userdata/opencloud/config/config.env | xargs) /opt/opencloud/opencloud init