check_running

Function check_running 

async fn check_running(
    service: &ServiceDefinition,
    pid_dir: &Path,
) -> Result<bool>