Commit c677c2a3 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

prepare first release

parent c2227561
......@@ -23,6 +23,7 @@ Source1: extras.zip
%prep
%setup -c
%setup -T -D -a 1
cp /data/proj/seatrackweb/deploy/padmwsverify/run*.cfg .
%build
......@@ -54,6 +55,13 @@ fi
source /etc/profile.d/smhi.sh
cd /local_disk/%{name}
mv run${SMHI_MODE}.cfg run/run.cfg
chmod 400 run/run.cfg
rm -f run{utv,test,prod,demo}.cfg
case "$SMHI_MODE" in
prod)
OWNER=%{AppOwner}
......
......@@ -4,7 +4,8 @@ Description=Runs SMHI-padmwsverify once an hour, 20 min past.
# Time to wait after booting before we run first time
OnBootSec=10min
# Time between running each consecutive time
OnCalendar=*:20
# OnCalendar=*:20
OnCalendar=0/1:00:00
Unit=SMHI-padmwsverify
[Install]
WantedBy=multi-user.target
\ No newline at end of file
......@@ -25,5 +25,5 @@
"longitude": 11.390247344970703
}
],
"timeperiod": 24
"timeperiod": 3
}
\ No newline at end of file
......@@ -37,5 +37,5 @@
"longitude": 26.958385167216541
}
],
"timeperiod": 24
"timeperiod": 3
}
\ No newline at end of file
......@@ -23,5 +23,5 @@
"longitude": 18.0615234375
}
],
"timeperiod": 24
"timeperiod": 3
}
\ No newline at end of file
......@@ -25,5 +25,5 @@
"longitude": 13.6724853515625
}
],
"timeperiod": 24
"timeperiod": 3
}
\ No newline at end of file
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