Comment 5 for bug 1819721

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Sebastian,

thank you for taking the time to report this bug and helping to make Ubuntu better.

For a systemd service you can easily override it and to modify/add options. As an example, you should be able to achieve a similar result to what you describe by using:

/etc/systemd/system/tomcat.service.d# cat override.conf
[Service]
EnvironmentFile=-/etc/default/tomcat8.local

Please see https://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile= for a description on the expected file format.

If that solution is not enough, could you please describe why or what is it missing?