From d5fb8b991c0ce9b8b65ae9bbeadeb22eedc552c7 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Mon, 3 Oct 2022 17:03:57 +0200 Subject: [PATCH] create tmp path for db --- antd-config.ini | 2 +- mkimg.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/antd-config.ini b/antd-config.ini index a769f65..a3cfe1c 100644 --- a/antd-config.ini +++ b/antd-config.ini @@ -4,7 +4,7 @@ plugins=./opt/www/lib/ plugins_ext=.so # These options can be changed tmpdir=/tmp/ -database=/tmp/antos-db +database=/tmp/antos-cwd/db maxcon=500 backlog=5000 workers = 4 diff --git a/mkimg.sh b/mkimg.sh index e85c697..ebc17fd 100755 --- a/mkimg.sh +++ b/mkimg.sh @@ -57,7 +57,7 @@ export LD_LIBRARY_PATH="$B/usr/lib/" echo "Runing Antd in $B with configuration $W/antd-config.ini" # TODO this is not good touch /tmp/.antos_pkgcache -ln -sf $W/ /tmp/antos-db +ln -sf $W/ /tmp/antos-cwd ./usr/bin/antd $W/antd-config.ini >/dev/null 2>&1 | ( sleep 2 && ./opt/www/bin/runner $W/runner.ini >/dev/null 2>&1 &) EOF