diff --git a/scripts/beesd.conf.sample b/scripts/beesd.conf.sample index d7750d9..f9cc9e9 100644 --- a/scripts/beesd.conf.sample +++ b/scripts/beesd.conf.sample @@ -31,4 +31,4 @@ UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # 64TB 1GB 1024K # # Size MUST be multiple of 128KB -# DB_SIZE=$((8192*$AL128K)) # 1G in bytes +# DB_SIZE=$((1024*1024*1024)) # 1G in bytes diff --git a/scripts/beesd.in b/scripts/beesd.in index b5d6564..216bc41 100755 --- a/scripts/beesd.in +++ b/scripts/beesd.in @@ -9,9 +9,10 @@ YN(){ [[ "$1" =~ (1|Y|y) ]]; } export BEESHOME BEESSTATUS export WORK_DIR CONFIG_DIR export CONFIG_FILE -export UUID AL128K +export UUID AL16M AL128K readonly AL128K="$((128*1024))" +readonly AL16M="$((16*1024*1024))" readonly CONFIG_DIR=@ETC_PREFIX@/bees/ readonly bees_bin=$(realpath @LIBEXEC_PREFIX@/bees)