units: automatically revert to /run logging on shutdown if necessary

Fixes: #867
This commit is contained in:
Lennart Poettering
2019-05-09 14:26:42 -04:00
parent c0dfcb318c
commit 1e187d2dd5
+1
View File
@@ -18,6 +18,7 @@ RequiresMountsFor=/var/log/journal
[Service]
ExecStart=@rootbindir@/journalctl --flush
ExecStop=@rootbindir@/journalctl --smart-relinquish-var
Type=oneshot
RemainAfterExit=yes
TimeoutSec=90s