modified the status function in init script. start-stop-daemon with -T option are not supported in some versions