add L7.26 loader. Restart parseEPG on failure

git-svn-id: file:///root/webif/svn/pkg/webif/trunk@3330 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2016-10-31 21:28:04 +00:00
parent 482e1fb597
commit b89b9cd5c9
3 changed files with 10 additions and 2 deletions

View File

@@ -10,7 +10,14 @@ fi
case "$1" in
start)
/mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log 2>&1 &
(
ulimit -c unlimited
while [ 1 ]; do
/mod/bin/epg -f $epg sqlitedumpd $epgdb \
> /tmp/epgd.log 2>&1
[ $? -eq 143 ] && break
done
)&
;;
stop)
killall -q epg