From 6adeee1985a74b10e9c85761a3b5d9f1e69eb122 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Sun, 16 Jun 2024 20:06:11 +0100 Subject: [PATCH 1/2] Add DATA_PATH to environment. Fixes #357 --- piku.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piku.py b/piku.py index 205c5ea..58a2eb2 100755 --- a/piku.py +++ b/piku.py @@ -714,6 +714,7 @@ def spawn_app(app, deltas={}): env = { 'APP': app, 'LOG_ROOT': LOG_ROOT, + 'DATA_PATH': join(DATA_ROOT, app), 'HOME': environ['HOME'], 'USER': environ['USER'], 'PATH': ':'.join([join(virtualenv_path, 'bin'), environ['PATH']]), From 690e01f23672903278ce20b4cc015d9aa5db00b5 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Wed, 26 Jun 2024 16:05:07 +0100 Subject: [PATCH 2/2] ENV var name DATA_PATH to DATA_ROOT for consistency. #357 --- piku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piku.py b/piku.py index 58a2eb2..da7e147 100755 --- a/piku.py +++ b/piku.py @@ -714,7 +714,7 @@ def spawn_app(app, deltas={}): env = { 'APP': app, 'LOG_ROOT': LOG_ROOT, - 'DATA_PATH': join(DATA_ROOT, app), + 'DATA_ROOT': join(DATA_ROOT, app), 'HOME': environ['HOME'], 'USER': environ['USER'], 'PATH': ':'.join([join(virtualenv_path, 'bin'), environ['PATH']]),