Hello, I'm working on packaging (a custom distribution of) Karaf for Debian. I'm going for better integration with the OS trying to respect as much as possible the Unix guidelines and Debian Policy. I hope I get something useful to contribute back to the community.
I wish to store karaf logs under /var/log/karaf and configuration under /etc/karaf . Is it possible with the karaf-2.3.x branch? I hope I can count on some of you're help with this. Longer explanation and details follow: ------- Note: My inspiration is tomcat7 package. Pre-requisiste - system wide Apache Karaf should start and run as user 'karaf' under group 'karaf' - for security reasons. So far I figured some of the requirements for Karaf with respect for packaging are: - should read configuration files from /etc/karaf -- they are not overriden during package updates - should store log files under /var/log/karaf - should keep it's own files under /usr/share/karaf - should store data created at runtime under /var/lib/karaf - documentation should go under /usr/share/doc/karaf There are many reasons to do things this way, mainly to ease administration, increase security and use the package management tools. ------- end long explanation. Regards, -- Ioan Eugen Stan 0720 898 747
