example: fix status and restart for init.d

Signed-off-by: Laurent Arnoud <laurent.arnoud@af83.com>
Signed-off-by: Julien Boyer <julien.boyer@af83.com>