diff --git a/templates/home-assistant.service.j2 b/templates/home-assistant.service.j2 index cfe1779..5859fce 100644 --- a/templates/home-assistant.service.j2 +++ b/templates/home-assistant.service.j2 @@ -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