diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd/journald-volatile.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/journald-volatile.conf b/meta/recipes-core/systemd/systemd/journald-volatile.conf new file mode 100644 index 0000000000..b11e1606b5 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/journald-volatile.conf | |||
@@ -0,0 +1,6 @@ | |||
1 | # If /var/volatile is a mount point then make sure to mount it before | ||
2 | # the journal starts. This is because base-files creates a symlink | ||
3 | # /var/log -> /var/volatile/log. And if the journal starts before the mount | ||
4 | # happens, the journal will appear empty until restarted. | ||
5 | [Unit] | ||
6 | After=var-volatile.mount | ||