diff --git a/stack/lapp/instance-postgres.cfg.in b/stack/lapp/instance-postgres.cfg.in
index 4c9fdf1c7f52abe3b3133d03e826109dd0d1f5fa..c5588eb122e4296ed2860248c0242d078b170d3b 100644
--- a/stack/lapp/instance-postgres.cfg.in
+++ b/stack/lapp/instance-postgres.cfg.in
@@ -56,7 +56,7 @@ bin = $${directories:bin}
 # Deploy promises scripts
 [postgres-promise]
 recipe = slapos.cookbook:check_port_listening
-path = $${basedirectory:promises}/apache
+path = $${directories:promises}/apache
 hostname = $${postgresql:host}
 port = $${postgresql:port}