From 721911b774c3872d81a9a092c97f61634df8976c Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sat, 14 May 2022 22:33:59 -0500 Subject: [PATCH] Resolve issue where LNDg data would not update --- .../standard/usr/share/mynode_apps/lndg/scripts/install_lndg.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/standard/usr/share/mynode_apps/lndg/scripts/install_lndg.sh b/rootfs/standard/usr/share/mynode_apps/lndg/scripts/install_lndg.sh index 11ebcf75..4122e9d8 100644 --- a/rootfs/standard/usr/share/mynode_apps/lndg/scripts/install_lndg.sh +++ b/rootfs/standard/usr/share/mynode_apps/lndg/scripts/install_lndg.sh @@ -20,6 +20,8 @@ sed -i 's|lndg-admin|admin|g' initialize.py # Patch supervisord config mkdir -p logs sed -i 's|/var/log|/opt/mynode/lndg/logs|g' .venv/supervisord.conf +sed -i 's|/var/supervisord.pid|/tmp/supervisord.pid|g' .venv/supervisord.conf +sed -i 's|"python|".venv/bin/python|g' .venv/supervisord.conf # Load initial data .venv/bin/python jobs.py