Now also sets uid and gid when not forking.

Hi symkat.

It appears that not forking will not change the uid and gid of the process, as desired. Hopefully, we are running with elevated permissions so we can change the privileges, and so this should help.

Regards, ath88