Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/var-log-journal.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
278 B
SYSTEMD

[Unit]
Description=Systemd persistent logging
Requires=mnt-overlay.mount
After=mnt-overlay.mount
Before=systemd-journal-flush.service
[Mount]
What=/mnt/overlay/var/log/journal
Where=/var/log/journal
Type=None
Options=bind
LazyUnmount=yes
[Install]
WantedBy=hassos-bind.target