On 05/29/2012 03:03 PM, Ioan Eugen Stan wrote:
Hi,
I'm almost done with Debian package for James. The current set-up
installs everything in /usr/share/apache-james just like unpacking the
zip archive there.
On my Ubuntu, I have run 'mvn package -Dmake-deb' and successfully
installed apache-james_3.0-beta5-SNAPSHOT_all.deb. Well done!
(I didn't try to run it yet)
How do I configure James to store application created files (the
database and mails ) under /var instead of /usr/share/apache-james/var
? This is required to allow the package to uninstall cleanly.
There are a few place to take into consideration:
- james-database.properties : you can define an absolute path for
database.url=jdbc:derby:../var/store/derby;create=true
- mailbox-maildir.properties : you can define an absolute path for
maildir.folder=../var/store/maildir/%domain/%user
- for the amq storage, I have opened JAMES-1413. It should be more
generalized to allow configuration (as well as absolute as relative)
- the mailrepository paths must also be considered
Improvements on my list:
- make symbolic links for james service to /etc/init.d and register
james as a service
- add james-cli to path
I've commented on https://issues.apache.org/jira/browse/JAMES-1343 on
how to create& install the package. It should work on any distro
capable of installing a *deb.
Cheers,
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org