When a program ignores its config file, I would rather watch what it opens than guess.
strace -f -e trace=openat -o /tmp/open.txt myprogram --serve
grep ENOENT /tmp/open.txt
-f follows child processes and threads, -e trace=openat limits the output to the system call that opens files, and -o writes it to a file so the program’s own output stays readable. Lines ending in ENOENT are paths the program looked for and did not find, which usually points straight at the wrong directory or a missing file. strace slows the target down a lot, and on hardened systems attaching to someone else’s process needs root.
Further reading: strace manual page