fixed determining linux service status