coorect template for postgress

This commit is contained in:
vincent 2020-11-07 15:52:24 +01:00
parent 6245a9cc8e
commit 309673b42d

View File

@ -1,6 +1,6 @@
[Unit]
Description=Home Assistant
After=network-online.target {{ 'postgresql.service' if hass_DB_type == 'postgres' else mysqld.service hass_DB_type == 'mysql' }}
After=network-online.target {{ 'postgresql.service' if hass_db_type == 'postgres' else mysqld.service }}
[Service]
Type=simple