"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dist/bin/lswsctrl" between
openlitespeed-1.6.3.src.tgz and openlitespeed-1.6.4.src.tgz

About: OpenLiteSpeed is a high-performance, lightweight HTTP server with optional HTTP/2 support (open sourve version of the commercial LiteSpeed Web Server). Sources.

lswsctrl  (openlitespeed-1.6.3.src.tgz):lswsctrl  (openlitespeed-1.6.4.src.tgz)
skipping to change at line 116 skipping to change at line 116
kill $PID kill $PID
test_running test_running
if [ $RUNNING -eq 0 ]; then if [ $RUNNING -eq 0 ]; then
echo "[OK] $DESC: stopped." echo "[OK] $DESC: stopped."
else else
for i in {1..15} for i in {1..15}
do do
sleep 1 sleep 1
test_running test_running
echo "[$i/15]: test if running" #echo "[$i/15]: test if running"
if [ $RUNNING -eq 1 ]; then if [ $RUNNING -eq 1 ]; then
if [ "$i" = "14" ] || [ "$i" = "15" ] ; then if [ "$i" = "14" ] || [ "$i" = "15" ] ; then
kill -9 $PID kill -9 $PID
echo "Sent kill again to stop." # echo "Sent kill again to stop."
else #else
echo "[$i/15]: running, wait for 1 more second." # echo "[$i/15]: running, wait for 1 more second."
fi fi
else else
break break
fi fi
done done
test_running test_running
if [ $RUNNING -eq 1 ]; then if [ $RUNNING -eq 1 ]; then
echo "[ERROR] can not kill $DESC" echo "[ERROR] can not kill $DESC"
else else
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)