File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22export HOME=" /hab/svc/chime/config"
33# export the parameters file path
4- export PARAMETERS=" ${pkg_prefix } /defaults/webapp.cfg"
4+ export PARAMETERS=" {{pkg.path} }/defaults/webapp.cfg"
55cd " /hab/svc/chime"
66
77if [ " $( whoami) " = " root" ]; then
88 exec chpst \
99 -U root:hab \
1010 -u root:hab \
11- streamlit run " {{pkg.path}}/app .py" 2>&1
11+ streamlit run " {{pkg.path}}/st_app .py" 2>&1
1212else
13- exec streamlit run " {{pkg.path}}/app .py" 2>&1
13+ exec streamlit run " {{pkg.path}}/st_app .py" 2>&1
1414fi
Original file line number Diff line number Diff line change @@ -66,8 +66,10 @@ do_build() {
6666}
6767
6868do_install () {
69+ mkdir " ${pkg_prefix} /defaults/"
6970 cp -pr ${PLAN_CONTEXT} /../src/* " ${pkg_prefix} /"
70- cp -pr ${PLAN_CONTEXT} /../deafults/webapp.cfg " ${pkg_prefix} /defaults/"
71+ cp -pr ${PLAN_CONTEXT} /../st_app.py " ${pkg_prefix} /"
72+ cp -pr ${PLAN_CONTEXT} /../defaults/webapp.cfg " ${pkg_prefix} /defaults/"
7173 return $?
7274}
7375
You can’t perform that action at this time.
0 commit comments