Implement restart command

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>