Fixed poundctl.tpl log writting

Fixed poundctl.tpl and now logs file is persistent.