[daemon] Make log and pid paths into variables