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.
16 lines
278 B
SYSTEMD
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
|