set pwd for daemon proc