Added support for systemd logging by configuring LOGFILE=systemd

This commit is contained in:
Scott Shumate 2016-07-15 13:40:23 -05:00
parent 65d5249bd8
commit 55ee0113ea

View File

@ -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"