Skip to content

Commit 2697cef

Browse files
committed
#526 Added webapp.cfg to plan.sh and run hook.
1 parent 300d0d6 commit 2697cef

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

habitat/hooks/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
export HOME="/hab/svc/chime/config"
3+
# export the parameters file path
4+
export PARAMETERS="${pkg_prefix}/defaults/webapp.cfg"
35
cd "/hab/svc/chime"
46

57
if [ "$(whoami)" = "root" ]; then

habitat/plan.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ do_build() {
6767

6868
do_install() {
6969
cp -pr ${PLAN_CONTEXT}/../src/* "${pkg_prefix}/"
70+
cp -pr ${PLAN_CONTEXT}/../deafults/webapp.cfg "${pkg_prefix}/defaults/"
7071
return $?
7172
}
7273

0 commit comments

Comments
 (0)