From 3fd6a69e54c4b0b428b0073d28a77f690ea6921f Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Thu, 2 Jul 2020 23:46:10 +0000 Subject: [PATCH] fix(bkgpslog):Increase buffer period 60s to 5m to reduce write freq --- exec/bkgpslog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/bkgpslog b/exec/bkgpslog index 6a4e0d1..720f59e 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -6,7 +6,7 @@ #==BEGIN Define script parameters== ## Logging Behavior parameters -BUFFER_TTL="60"; # time between file writes +BUFFER_TTL="300"; # time between file writes SCRIPT_TTL="day"; # (day|hour) #### TZ="UTC"; export TZ; # Default time zone; overridden by '--time-zone=[str]' option DIR_TMP_DEFAULT="/dev/shm"; # Default parent of working directory @@ -14,7 +14,7 @@ DIR_TMP_DEFAULT="/dev/shm"; # Default parent of working directory SCRIPT_TIME_START=$(date +%Y%m%dT%H%M%S.%N); PATH="$HOME/.local/bin:$PATH"; # Add "$(systemd-path user-binaries)" path in case apps saved there SCRIPT_HOSTNAME=$(hostname); # Save hostname of system running this script. -SCRIPT_VERSION="0.3.1"; # Define version of script. +SCRIPT_VERSION="0.3.2"; # Define version of script. SCRIPT_NAME="bkgpslog"; # Define basename of script file. SCRIPT_URL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script. AGE_VERSION="1.0.0-beta2"; # Define version of age (encryption program) -- 2.30.2