Bug#819064: tomcat8-user: Systemd integration

Christian von Kietzell christian at vonkietzell.de
Wed Mar 23 12:08:51 UTC 2016


Package: tomcat8-user
Version: 8.0.32-1
Severity: wishlist

Dear Maintainer,

with tomcat8-instance-create it is relatively easy to setup a new Tomcat
instance. Since that instance is private to a user it isn't started
automatically, but instead has to be started and stopped via the
startup.sh and shutdown.sh scripts.

If I understand correctly, systemd provides support for managing
services an a per-user basis. Would it be possible to change
tomcat8-instance-create so that it generates the appropriate systemd
unit files, making it possible to enable the service on login and
starting and stopping it via something like 'systemctl --user ...'?

That would make that user instance feel much more like a system-wide one
and make managing it a little more convenient. I know I could do that
myself, but being a user I'm rather too lazy to dig into the depths of
systemd unit files ;-)


Cheers,
  Chris

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tomcat8-user depends on:
ii  netcat-openbsd [netcat]  1.105-7
ii  tomcat8-common           8.0.32-1

tomcat8-user recommends no packages.

Versions of packages tomcat8-user suggests:
pn  tomcat8           <none>
pn  tomcat8-admin     <none>
pn  tomcat8-docs      <none>
pn  tomcat8-examples  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list