Correct restart of deamon