MacOSX server daemon as root?

is there a way to configure the MacOSX server to launch before a user logs into MacOSX, running as root/sudo?
currently I have to launch the server, then relaunch with sudo.
also: where's the server config file located on MacOSX?



Sure, just install the server as a launchd daemon like this

sudo /Applications/ -b

The config.ini file is at /config.ini when running as a daemon