FreeBSD Notes - DNS-OARC/dsp GitHub Wiki
These notes has been contributed by people running DSC and DSP on FreeBSD.
Special thanks to:
- Philippe Mächler (Glattwerk AG)
Paths
There are a few paths that don’t exist on FreeBSD.
/var/lib
There is no /var/lib on FreeBSD, therefore you will have to create the run_dir /var/lib/dsc by hand or change the default configure.
PID file
You can change the configured path for the pid_file to pid_file "/var/run/dsc.pid";.
nginx and fastcgi
By default there is no access to the socket that fastcgi creates so in order for nginx to talk to it you need to set
fcgiwrap_socket_owner="www" in /etc/rc.conf.
dsc-grapher.pl that is executed by fastcgi also needs permission to write to the cache directory (cache_dir) and to the debug file (debug_log).
Fastcgi runs by default as nobody, this can be changed in /etc/rc.conf by settings fcgiwrap_user="www" which will let dsc-grapher.pl write to the above directory and files.