This makes sure that internet connectivity is available to replace the AppArmor configuration in case the device has been wiped.
15 lines
349 B
Desktop File
15 lines
349 B
Desktop File
[Unit]
|
|
Description=HassOS AppArmor
|
|
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
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
ExecStart=/usr/libexec/hassos-apparmor
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|