From 5208fc45a315ec65a6da44fcd4cf168f646650cc Mon Sep 17 00:00:00 2001 From: Dany LE Date: Mon, 3 Oct 2022 17:15:26 +0200 Subject: [PATCH] create tmp path for db --- antd-config.ini | 2 +- mkimg.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/antd-config.ini b/antd-config.ini index f53427c..c87cfea 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_cwd/db +database=/tmp/ maxcon=500 backlog=5000 workers = 4 diff --git a/mkimg.sh b/mkimg.sh index 1d32fe7..20bf896 100755 --- a/mkimg.sh +++ b/mkimg.sh @@ -57,7 +57,6 @@ 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_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