Status check in ubuntu init script

Thanks @LeonB