No Logging for IdP4.0.0

Peter Schober peter.schober at univie.ac.at
Fri Apr 17 13:15:57 EDT 2020


* Cantor, Scott <cantor.2 at osu.edu> [2020-04-17 18:50]:
> Honestly I've never seen this, but I haven't managed to get Jetty
> working with systemd yet. Maybe somebody could work that into the
> Jetty94 page?

FWIW, on Debian 10 the default systemd service unit for Tomcat9 comes
with these parameters set:

ProtectSystem=strict
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/

So if the deployer wants other paths to be writable s/he'd need to add
an override.
I just chose to get rid of all the layers of startup and wrapper shell
scripts, too, while I'm at it (cf. that systemd-house-of-horror link,
that in this case isn't even about the horrors of systemd, just how
people are using it.).

I haven't yet looked at Jetty (I know... ) but then all my service
does is call /usr/bin/java (managed by the alternatives system) in
ExecStart, so that should work any other servlet container just as
well.

-peter


More information about the users mailing list