forked from extern/shorewall_code
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
|
||||
g_logread="logread"
|
||||
fi
|
||||
elif [ "$LOGFILE" == "systemd" ]; then
|
||||
g_logread="journalctl -r"
|
||||
elif [ -r $LOGFILE ]; then
|
||||
if qt mywhich tac; then
|
||||
g_logread="tac $LOGFILE"
|
||||
|
Loading…
Reference in New Issue
Block a user