Make init restart wait for daemon to stop
Fix improper assignment

Typo found in test
Merge pull request #8 from rhowardiv/restart

Make init restart wait for daemon to stop