Could you please give your users the possibility to specify the position of the httpdocs-directory using the ini-file and/or a parameter for the commandline?
Originally posted by N. Werensteijn Why? its just like any other application data.
Because in the moment, the binary and the httpdocs-directory need to be in the same directory. But the Filesystem Hierarchy Standard (http://www.debian.org/doc/packaging-manuals/fhs/) asks us to put the binaries into /usr/bin (or /bin, /sbin /usr/sbin) and the application data into /usr/share. When i put the binary into /usr/bin and someone tries to start it from there, he won't have a web-interface within that session.
Agreed. You could also have the program search the current directory and /usr/share/tss2 for the httpdocs subdirectory, if no directory is specified.
BTW, why is the server called "linux_server" instead of tss2? (Or to follow the pattern of daemons, ts2d. Or even teamspeak2d.) It's rather anonymous in the context of other service programs.