Commit 8d995b30 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

validate fixes

parent 11232088
......@@ -24,7 +24,7 @@ Requires: python-requests
%prep
%setup -c
%setup -T -D -a 1
cp /data/proj/seatrackweb/deploy/padmwsverify/run*.cfg .
cp /data/proj/seatrackweb/deploy/padmwsverify/env*.cfg .
%build
......@@ -60,13 +60,14 @@ fi
source /etc/profile.d/smhi.sh
cd /local_disk/%{name}
mv run${SMHI_MODE}.cfg run/run.cfg
mv env${SMHI_MODE}.cfg env.cfg
chmod 400 run/run.cfg
rm -f run{utv,test,prod,demo}.cfg
chmod 400 env.cfg
rm -f env{utv,test,prod,demo}.cfg
chmod +x main.sh
chmod +x run/run.py
chmod +x run.py
chmod +x validate.py
case "$SMHI_MODE" in
prod)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment