Fix ability to start magnetodb service after reboot.

Change-Id: Id02bc8ba5a2652ab3bc9c71e4e9cdb13a7dfc287
Closes-Bug: #1298066
Merge "Fix ability to start magnetodb service after reboot."