Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-apparmor.service
Stefan Agner 66d5957310 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.
2021-09-20 13:44:09 +02:00

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