mirror of
https://github.com/systemd/systemd.git
synced 2025-02-25 21:57:32 +03:00
units: automatically revert to /run logging on shutdown if necessary
Fixes: #867
This commit is contained in:
parent
c0dfcb318c
commit
1e187d2dd5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user