diff --git a/src/contribs/wrapper/davmail_wrapper.zip b/src/contribs/wrapper/davmail_wrapper.zip new file mode 100644 index 00000000..cba0335a Binary files /dev/null and b/src/contribs/wrapper/davmail_wrapper.zip differ diff --git a/src/contribs/wrapper/readme.txt b/src/contribs/wrapper/readme.txt new file mode 100644 index 00000000..8d6a65d6 --- /dev/null +++ b/src/contribs/wrapper/readme.txt @@ -0,0 +1,39 @@ +From Dustin Hawkins: + +I run two instances of DavMail on my linux desktop to connect to work and university exchange servers. +In order to accomplish this, I used the Java Service Wrapper. + +Thought I would share my configs in case any one else wanted to run multi-instance under the java service wrapper. + +http://wrapper.tanukisoftware.org/doc/english/download.jsp + + +I created the following directory structure + +/opt/davmail + bin/ + wrapper <-- this is provided by java service wrapper. platform specific native executable. + davmail + davmail_2 + lib/ + + + conf/ + wrapper.conf + wrapper.conf_2 + davmail.properties + davmail.properties_2 + logs/ + + +The bin/davmail* scripts are the linux start/stop scripts for each instance +the conf/ directory has two files for each instance, a wrapper.conf, and a davmail.properties. + +by linking the bin/davmail* scripts into /etc/init.d and /etc/rc.d, I start davmail as a linux service, +and its easily start/stop/restart-able via the standard linux commands. + +If you download the Java Service Wrapper, you can find the appropriate executables and start scripts for +your platform under /bin +You can find the correct static object or DLL files under the /lib + +I have included a ZIP of my wrapper.conf and davmail startup scripts