mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
units: automatically revert to /run logging on shutdown if necessary
Fixes: #867
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user