Add startup script for comfy (#552)

Closes #451

---------

Co-authored-by: PassiveLemon <lemonl3mn@protonmail.com>
This commit is contained in:
AbdBarho
2023-07-22 08:31:17 +02:00
committed by GitHub
parent 6de45b1984
commit 09a0f11946
3 changed files with 9 additions and 1 deletions

View File

@@ -22,4 +22,10 @@ for to_path in "${!MOUNTS[@]}"; do
echo Mounted $(basename "${from_path}")
done
if [ -f "/data/config/comfy/startup.sh" ]; then
pushd ${ROOT}
. /data/config/comfy/startup.sh
popd
fi
exec "$@"