added ns_pid keyval option for daemons