(Jun 10 2005 19:13) Brunello Ivan wrote: > I have an application with several directories. > > As usual, the suggested installation is "put everything into a subdir in > /usr/local". > > I'd like to repackage it for TSL, but the main issue is "where do I put > the dirs". > > FHS is quite simple, but I'd like further suggestions. > > The directory structure (in short) is as follows: > > /bin binaries (better put them on a seperate dir, instead of > /usr/bin, they're quite uncommon) > /cgi-bin dinamic pages > /conf configuration data, seldom changing > /contrib contrib area > /htdocs static (documentation) pages > /lib libraries used by programs in /bin > /var variable data, changing every 5 minutes (it is an > RRDTool-Based tool). > > > I'd put > - bin in /usr/share/myapp/bin > - cgi-bin in /home/httpd/sites/myapp/cgi-bin > - conf files in /etc/myapp > - contrib in /usr/share/doc/myapp > - htdocs in /home/httpd/sites/myapp/html > - lib in /usr/share/myapp/lib > - var in /var/lib/myapp > > > > Any suggestion?
If the file names does not match any existing files why not use: - bin in /usr/bin - cgi-bin in /home/httpd/sites/myapp/cgi-bin - conf files in /etc/myapp - contrib in /usr/share/myapp/contrib - htdocs in /home/httpd/sites/myapp/html - lib in /usr/lib/myapp - var in /var/lib/myapp You probably also want to write a generic httpd inclusion file for configuring the /home/httpd/sites/myapp area. That should be placed as: /etc/httpd/conf.d/myapp.config or similar. kind regards c > > Ivan > > _______________________________________________ > tsl-discuss mailing list > [email protected] > http://lists.trustix.org/mailman/listinfo/tsl-discuss > -- Christian H. Toldnes Trustix Developer _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
