I have a binary package that in it's post-install script starts a backgroup job. (Mimics a daemon) Currently when executing pkg install <package> the post-install script is ran and the background job is started, but upon exit of pkg, pkg also kills all of its children including the background job. I am trying to figure out a way to ether get pkg to no kill all children on exit, or to run the background job in its own process group.