From 6bd40f8ecc9faeae9828c27c6533ea6801aeee3d Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 25 Mar 2020 18:47:37 -0600 Subject: [PATCH] Add log file --- quick_jibri_installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 0dd65ea..b92f6c7 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -2,6 +2,8 @@ # Quick Jibri Installer - *buntu 16.04 (LTS) based systems. # SwITNet Ltd © - 2019, https://switnet.net/ # GPLv3 or later. +{ +echo "Started at $(date +'%Y-%m-%d %H:%M:%S')" >> qj-installer.log while getopts m: option do @@ -602,4 +604,5 @@ while [ $secs -gt 0 ]; do sleep 1 : $((secs--)) done +} > >(tee -a qj-installer.log) 2> >(tee -a qj-installer.log >&2) reboot