From ebfe0f29c0667ba6717c4703f69b279f0c465e84 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 19 Oct 2016 09:44:25 +0200 Subject: impressive-display: Log when impressive gets started, terminated and triggered for reload. --- bin/impressive-display | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/impressive-display b/bin/impressive-display index 73df7a1..bda8161 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -343,6 +343,7 @@ function download_pdffile { cmp -s "$pdffile_downloaded" "$pdffile_previous"> /dev/null if [ $? -eq 1 ]; then echo -n "RELOAD" > $impressive_lock + $OUTPUT "INFO: Triggering PDF file reload, PDF file has changed..." fi pdffile=$pdffile_display @@ -406,6 +407,7 @@ function reloadable_impressive { while [ -e "$session_lock" ]; do + $OUTPUT "INFO: Starting a new instance of the impressive application." impressive ${IMPRESSIVE_OPTIONS} --fake-fullscreen --wrap -a ${SLIDE_DURATION} --nologo "${pdffile_display}" 1>/dev/null 2>/dev/null & impressive_pid=$! @@ -420,6 +422,7 @@ function reloadable_impressive { done kill -0 "$impressive_pid" 2>/dev/null && kill "$impressive_pid" + $OUTPUT "INFO: The impressive application has terminated." done -- cgit v1.2.3