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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user