summaryrefslogtreecommitdiffstats
path: root/conf/unit/macros.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/unit/macros.inc')
-rw-r--r--conf/unit/macros.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/unit/macros.inc b/conf/unit/macros.inc
index ca72b95..30322cb 100644
--- a/conf/unit/macros.inc
+++ b/conf/unit/macros.inc
@@ -59,8 +59,8 @@ define( `USER_RUN_DIR', `@afm_users_rundir@/%i')
define( `DEBUGGING_DIR', `@afm_platform_rundir@/debug')
define( `PLATFORM_RUN_DIR', `@afm_platform_rundir@')
-define( `APP_DATA_DIR', `ON_PERM(`:partner:scope-platform', `/tmp', `/home/%i/app-data')')
-define( `APP_WORK_DIR', `ON_PERM(`:partner:scope-platform', `/tmp', `APP_DATA_DIR/{{:id}}')')
+define( `APP_DATA_DIR', `ON_PERM(`:partner:scope-platform', `@afm_scope_platform_dir@', `/home/%i/app-data')')
+define( `APP_WORK_DIR', `APP_DATA_DIR/{{:id}}')
define( `RUN_DIR', `ON_PERM(`:partner:scope-platform', `PLATFORM_RUN_DIR', `USER_RUN_DIR')')
define( `API_PATH', `RUN_DIR/apis')