create tmp path for db
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
This commit is contained in:
parent
2fa1c1a85a
commit
d5fb8b991c
@ -4,7 +4,7 @@ plugins=./opt/www/lib/
|
|||||||
plugins_ext=.so
|
plugins_ext=.so
|
||||||
# These options can be changed
|
# These options can be changed
|
||||||
tmpdir=/tmp/
|
tmpdir=/tmp/
|
||||||
database=/tmp/antos-db
|
database=/tmp/antos-cwd/db
|
||||||
maxcon=500
|
maxcon=500
|
||||||
backlog=5000
|
backlog=5000
|
||||||
workers = 4
|
workers = 4
|
||||||
|
2
mkimg.sh
2
mkimg.sh
@ -57,7 +57,7 @@ export LD_LIBRARY_PATH="$B/usr/lib/"
|
|||||||
echo "Runing Antd in $B with configuration $W/antd-config.ini"
|
echo "Runing Antd in $B with configuration $W/antd-config.ini"
|
||||||
# TODO this is not good
|
# TODO this is not good
|
||||||
touch /tmp/.antos_pkgcache
|
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 &)
|
./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
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user