You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
474 B
13 lines
474 B
[Unit]
|
|
Description=Home Assistant Service Target
|
|
Documentation=man:systemd.target(5)
|
|
Requires=postgresql.target home-assistant-init.service home-assistant.service
|
|
After=postgresql.target home-assistant-init.service home-assistant.service
|
|
|
|
# Allow isolation - can stop/start this target independently
|
|
AllowIsolate=yes
|
|
# Only start if Home Assistant has been configured
|
|
ConditionPathExists=/etc/quadlets/home-assistant/configuration.yaml
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|