Update restart and status checking
Merge pull request #19 from hunner/fix_status

Update restart and status checking