Make the daemon restart code work properly.