mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Added support for systemd logging by configuring LOGFILE=systemd
This commit is contained in:
parent
65d5249bd8
commit
55ee0113ea
@ -191,6 +191,8 @@ setup_logread() {
|
|||||||
else
|
else
|
||||||
g_logread="logread"
|
g_logread="logread"
|
||||||
fi
|
fi
|
||||||
|
elif [ "$LOGFILE" == "systemd" ]; then
|
||||||
|
g_logread="journalctl -r"
|
||||||
elif [ -r $LOGFILE ]; then
|
elif [ -r $LOGFILE ]; then
|
||||||
if qt mywhich tac; then
|
if qt mywhich tac; then
|
||||||
g_logread="tac $LOGFILE"
|
g_logread="tac $LOGFILE"
|
||||||
|
Loading…
Reference in New Issue
Block a user