1
0
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:
Zygo Blaxell
2018-10-31 22:48:06 -04:00
Ursprung 542371684c
Commit 6e6b08ea0e
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
+1 -1
Datei anzeigen
@@ -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
+2 -1
Datei anzeigen
@@ -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)