From 482962844a63d47e551d68196942542787954abf Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 11 Feb 2024 16:04:57 +0100 Subject: [PATCH] docker: fix missing tmp directory --- docker/common-setup.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/common-setup.sh b/docker/common-setup.sh index e8a3f007..649a3049 100755 --- a/docker/common-setup.sh +++ b/docker/common-setup.sh @@ -16,8 +16,12 @@ ln -s \ /code/install.sql \ /var/www-leftypol/ -install -m 775 -o leftypol -g leftypol -d /var/www/js -ln -s /code/js/* /var/www/js/ +install -m 775 -o leftypol -g leftypol -d /var/tmp/leftypol +install -m 775 -o leftypol -g leftypol -d /var/tmp/leftypol/cache +ln -s /var/tmp/leftypol /var/www-leftypol/tmp + +install -m 775 -o leftypol -g leftypol -d /var/www-leftypol/js +ln -s /code/js/* /var/www-leftypol/js/ install -m 775 -o leftypol -g leftypol -d /var/www-leftypol/templates install -m 775 -o leftypol -g leftypol -d /var/www-leftypol/templates/cache