8 changed files with 23 additions and 3 deletions
@ -0,0 +1,20 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
set -e |
||||||
|
|
||||||
|
SERVICE="$1" |
||||||
|
shift |
||||||
|
|
||||||
|
export MISTBORN_HOME="/opt/mistborn" |
||||||
|
|
||||||
|
# check and create file if needed |
||||||
|
${MISTBORN_HOME}/scripts/env/check_env_file.sh ${SERVICE} |
||||||
|
|
||||||
|
# read in variables |
||||||
|
set -a |
||||||
|
source ${MISTBORN_HOME}/.env |
||||||
|
source ${MISTBORN_HOME}/.envs/.production/.${SERVICE} |
||||||
|
set +a |
||||||
|
|
||||||
|
echo $@ |
||||||
|
#exec "$@" |
||||||
Loading…
Reference in new issue