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…
Reference in New Issue