调整目录结构,增加RPM打包功能

* 调整目录结构,原conf目录分拆为conf和resource目录。其中,conf目录在软件更新时不会更新,resource则更新;
* 增加RPM打包功能,利用CI发布软件的RPM,对应调整GitLAB-CI脚本。
This commit is contained in:
Lu Qiuwen
2018-11-16 20:27:36 +08:00
parent 3da25a31ff
commit 88e9eecf09
22 changed files with 154 additions and 33 deletions

17
script/r3_tfe Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
while [ 1 ]; do
count=`ls -l core.* |wc -l`
echo $count
if [ $count -lt 5 ]
then
echo "set unlimited"
ulimit -c unlimited
else
ulimit -c 0
fi
./tfe > log/screen.log 2>&1
echo program crashed, restart at `date +"%w %Y/%m/%d, %H:%M:%S"` >> RESTART.log
sleep 10
done