daemonize before dropping privilieges to avoid PID permissions problems
fix FreeBSD init script