add SQL dependance

This commit is contained in:
vincent 2020-11-04 18:24:58 +01:00
parent ab957eaa03
commit 6245a9cc8e

View File

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