Use vm_torrent_srv to configure the torrent server

This commit is contained in:
Raphael Dannecker 2025-04-01 15:45:11 +02:00
parent 320ad3a51d
commit 0f4e455717
5 changed files with 512 additions and 510 deletions

View file

@ -0,0 +1,19 @@
# variables for LMN VM submodule
SEEDBOX_HOST="{{ vm_torrent_srv }}"
SEEDBOX_PORT=6789
SEEDBOX_RPC_PORT=6800
SEEDBOX_PWFILE="/etc/lmn/uploadseed.conf"
DHTDAT="/var/cache/aria2/dht.dat"
DESKTOPSTARTERDIR="/srv/samba/schools/default-school/share/school/AdminIT/desktop/"
VM_SYSDIR="/lmn/vm"
if [[ -v SUDO_UID ]]; then
VM_DIR="/var/tmp/vm/${SUDO_UID}/vm"
VM_DIR_PERSISTENT="/var/vm/${SUDO_UID}"
else
VM_DIR="/var/tmp/vm/${UID}/vm"
VM_DIR_PERSISTENT="/var/vm/${UID}"
fi
VM_MEDIADIR="/lmn/media/${USER}"