avoid using PYTHONPATH to enable setup mod hooks, which is problematic for managment command line tool use

- save the directory path to setup mods in /etc/mailinabox.conf
- dynamically add the path to python during hook initialization
This commit is contained in:
downtownallday
2022-10-24 16:24:44 -04:00
parent bb969f16ae
commit 7fa070aed8
5 changed files with 73 additions and 24 deletions
+1
View File
@@ -35,5 +35,6 @@ if [ $? -eq 0 ]; then
ehdd/postinstall.sh || exit 1
else
echo "setup/start.sh failed"
exit 1
fi