Comment 7 for bug 1819721

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

@Sebastian (slovdahl)

Well, you have customized init.d scripts and added local features to it, which is not something that Ubuntu can know about, nor has to support. There are obvious ways how you can continue to support those things in an automated manner. For example, you can dpkg-divert systemd units to prevent them from being used and init.d scripts used instead.

Also, one can write a systemd generator that would parse the /etc/default/tomcat8 and /etc/default/tomcat8.local and produce appropriate override (i.e. /run/systemd/system/tomcat8.service to override everything, or only just /run/systemd/system/tomcat8.service.d/generator.conf)

Imho, it would be nice to continue support the older /etc/default/tomcat8 settings as much as possible.

@slovdahl can you please share your modifications to the init.d script and what sort of things you are setting in both /etc/default/tomcat8 and tomcat8.local?