Use setuid and setgid to start daemon