init.d: fix stop and restart

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
yaml parser: fix memory leak

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>