A live bird collage card for your Home Assistant dashboard.
Update dump_logs.sh
Patrick McGuire919a89008c96
diff --git a/scripts/dump_logs.sh b/scripts/dump_logs.shindex a22fbd9b..f4ca8283 100755--- a/scripts/dump_logs.sh+++ b/scripts/dump_logs.sh@@ -11,7 +11,7 @@ services=$(awk '/service/ && /systemctl/ && !/php/ {print $3}' ${my_dir}/install# Create services logsfor i in "${services[@]}";do- if [ -L /etc/systemd/system/multi-user.target.wants/${i} ];then+ if [ -L "/etc/systemd/system/multi-user.target.wants/${i}" ];thenjournalctl -u ${i} -n 100 --no-pager > ${LOG_DIR}/${i}.logcp -L /etc/systemd/system/multi-user.target.wants/${i} ${LOG_DIR}/${i}fi