Site updated at 2018-03-06 21:29:38 UTC

This commit is contained in:
Travis CI 2018-03-06 21:29:38 +00:00
parent 81ebd867d9
commit 13bbbc582a
29 changed files with 110 additions and 79 deletions

View file

@ -266,12 +266,20 @@
</tbody>
</table>
<p class="note">
+If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the file /etc/systemd/system/home-assistant@homeassistant.service as root (e.g. sudo nano /etc/systemd/system/home-assistant@homeassistant.service) and add the service - for PostgreSQL:
+If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the service file.
<code class="highlighter-rouge">bash
$ sudo nano /etc/systemd/system/home-assistant@homeassistant.service
</code>
and add the service for PostgreSQL:
<code class="highlighter-rouge">
[Unit]
Description=Home Assistant
After=network.target postgresql.service
</code>
Save the file then reload <code class="highlighter-rouge">systemctl</code>:
<code class="highlighter-rouge">bash
$ sudo systemctl daemon-reload
</code>
</p>
<h2><a class="title-link" name="installation-notes" href="#installation-notes"></a> Installation notes</h2>
<p>Not all Python bindings for the chosen database engine can be installed directly. This section contains additional details which should help you to get it working.</p>