Yes, the file in /usr/local/bin is created during the port install, i've just slightly modified it. The file in /usr/local/etc/rc.d is the new startup script. Both are named davmail.
The principal problem of this startup script is that it cannot handle different instances of davmail with different config files as it gets the process id from jps and there is always the same class name returned by jps for all instances of davmail.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
rc.d script
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
bin script
both files are named davmail, one is located in bin and the other one in rc.d, right ?
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Yes, the file in /usr/local/bin is created during the port install, i've just slightly modified it. The file in /usr/local/etc/rc.d is the new startup script. Both are named davmail.
The principal problem of this startup script is that it cannot handle different instances of davmail with different config files as it gets the process id from jps and there is always the same class name returned by jps for all instances of davmail.
Obsolote, would probably need systemd config instead