Actualiser opencloud/install.md
This commit is contained in:
@@ -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>Don’t start the service yet!</strong></p>
|
<p><strong>Don’t 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
|
||||||
|
|||||||
Reference in New Issue
Block a user