Wait until Internet is available before starting AppArmor (#1547)

This makes sure that internet connectivity is available to replace the
AppArmor configuration in case the device has been wiped.
This commit is contained in:
Stefan Agner 2021-09-20 13:44:09 +02:00 committed by GitHub
parent 7ca4e90885
commit 66d5957310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
[Unit]
Description=HassOS AppArmor
Wants=hassos-supervisor.service
Wants=hassos-supervisor.service network-online.target time-sync.target
After=network-online.target time-sync.target
Before=docker.service hassos-supervisor.service
RequiresMountsFor=/mnt/data