Bug#927971: tomcat9: split policy files and libexec scripts so that pki-server can use them

Timo Aaltonen tjaalton at debian.org
Mon Sep 16 14:54:58 BST 2019


On 3.6.2019 1.11, Emmanuel Bourg wrote:
> Hi Timo,
> 
> Le 25/04/2019 à 19:37, Timo Aaltonen a écrit :
> 
>> I'd like to use the libexec scripts and policy files from the pki-server systemd service file, but installing 'tomcat9' will start an instance and then 'pkispawn' would fail because the (default) port is already used. So I can't just depend on tomcat9, but maybe these files could be moved to -common or -user?
> 
> Did you consider calling /usr/share/tomcat9/bin/catalina.sh (installed
> by tomcat9-common) instead of reusing the libexec script that's focused
> on the tomcat9 package needs? That should allow you to start a Tomcat
> instance with the settings you want.

Right, I've copied the start-script to pki and modified to suit, but the
policy files should probably still moved to -common?


-- 
t



More information about the pkg-java-maintainers mailing list