Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/var-lib-NetworkManager.mount
Jasper van der Neut - Stulen 5835b6a683 OS: Fix unmount of busy mounts (#319)
dhclient and systemd-journald will be running during shutdown and are
only killed in the final shutdown fase. Unmounting the directories
they use will fail. Use lazy unmouting to fix this.
2019-01-13 21:04:57 +01:00

16 lines
283 B
SYSTEMD

[Unit]
Description=NetworkManager persistent data
Requires=mnt-data.mount
After=mnt-data.mount
Before=NetworkManager.service
[Mount]
What=/mnt/overlay/var/lib/NetworkManager
Where=/var/lib/NetworkManager
Type=none
Options=bind
LazyUnmount=yes
[Install]
WantedBy=hassos-bind.target