[PATCH 4/4] remote: use shared daemon startup code