mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
scripts: put AL16M back to avoid breaking existing scripts
Leave AL16M defined in beesd to avoid breaking scripts based on beesd.conf.sample which used this constant. Use the absolute size in beesd.conf.sample to avoid any future problems. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
542371684c
commit
6e6b08ea0e
@ -31,4 +31,4 @@ UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|||||||
# 64TB 1GB 1024K
|
# 64TB 1GB 1024K
|
||||||
#
|
#
|
||||||
# Size MUST be multiple of 128KB
|
# Size MUST be multiple of 128KB
|
||||||
# DB_SIZE=$((8192*$AL128K)) # 1G in bytes
|
# DB_SIZE=$((1024*1024*1024)) # 1G in bytes
|
||||||
|
@ -9,9 +9,10 @@ YN(){ [[ "$1" =~ (1|Y|y) ]]; }
|
|||||||
export BEESHOME BEESSTATUS
|
export BEESHOME BEESSTATUS
|
||||||
export WORK_DIR CONFIG_DIR
|
export WORK_DIR CONFIG_DIR
|
||||||
export CONFIG_FILE
|
export CONFIG_FILE
|
||||||
export UUID AL128K
|
export UUID AL16M AL128K
|
||||||
|
|
||||||
readonly AL128K="$((128*1024))"
|
readonly AL128K="$((128*1024))"
|
||||||
|
readonly AL16M="$((16*1024*1024))"
|
||||||
readonly CONFIG_DIR=@ETC_PREFIX@/bees/
|
readonly CONFIG_DIR=@ETC_PREFIX@/bees/
|
||||||
|
|
||||||
readonly bees_bin=$(realpath @LIBEXEC_PREFIX@/bees)
|
readonly bees_bin=$(realpath @LIBEXEC_PREFIX@/bees)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user