okay lets put it in fucking tmp then

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-02 20:45:24 +01:00
parent eabcc3a8bf
commit 33625ba439
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -74,7 +74,7 @@ in
cp start-*.sh $out
sed -i 's/, reflect=True//' $out/moa/models.py
substituteInPlace $out/app.py --replace "from authlib.integrations._client import MissingRequestTokenError" "class MissingRequestTokenError(Exception): pass"
substituteInPlace $out/moa/worker.py --replace "Path(f'" "Path(f'/run/moa_"
substituteInPlace $out/moa/worker.py --replace "Path(f'" "Path(f'/tmp/moa_"
substituteInPlace $out/app.py --replace "logHandler = logging.FileHandler('logs/app.log')" "import sys; logHandler = logging.StreamHandler(sys.stderr)"
'';
meta = {