Mirror von
https://github.com/tkuschel/bees.git
synchronisiert 2026-05-08 04:59:37 +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>
Dieser Commit ist enthalten in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren