diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-10-19 09:44:25 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-10-19 09:44:25 +0200 |
commit | ebfe0f29c0667ba6717c4703f69b279f0c465e84 (patch) | |
tree | d3bb0f4bdc68b9b98d8d1ad8c49d781ffc6b7bbc | |
parent | 7c3a69428689f645db2e9ba61d976b2096dd4a17 (diff) | |
download | impressive-display-ebfe0f29c0667ba6717c4703f69b279f0c465e84.tar.gz impressive-display-ebfe0f29c0667ba6717c4703f69b279f0c465e84.tar.bz2 impressive-display-ebfe0f29c0667ba6717c4703f69b279f0c465e84.zip |
impressive-display: Log when impressive gets started, terminated and triggered for reload.
-rwxr-xr-x | bin/impressive-display | 3 |
1 files changed, 3 insertions, 0 deletions
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 |