[systemd-devel] Disabling tomcat8

Lennart Poettering lennart at poettering.net
Wed Dec 20 10:53:43 UTC 2017


On Di, 19.12.17 20:34, Reindl Harald (h.reindl at thelounge.net) wrote:

> 
> 
> Am 19.12.2017 um 20:05 schrieb Lennart Poettering:
> > On Mo, 18.12.17 19:40, Cecil Westerhof (cldwesterhof at gmail.com) wrote:
> > 
> > > There is a system with tomcat8 installed and enabled. At the moment it is
> > > not used, so I thought it better to disable it.
> > > 
> > > When I enter:
> > >      systemctl disable tomcat8.service
> > > 
> > > I get:
> > >      tomcat8.service is not a native service, redirecting to
> > > systemd-sysv-install.
> > >      Executing: /lib/systemd/systemd-sysv-install disable tomcat8
> > 
> > This means the service in question is not a native systemd service,
> > but a legacy SysV service, that is only hooked in with distro-specific
> > shell glue. If that doesn't work it's not an upstream issue, you need
> > to contact your downstream distribution for help, as they put together
> > the shell script glue
> 
> in 2017 it shpuld be a native systemd-unit but from where comes the "vendor
> preset: enabled" in case of a generated unit?
> 
> Loaded: loaded (/etc/init.d/tomcat8; generated; vendor preset: enabled)

Hmm, we might indeed want to hide the preset data when something's a
generated unit.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list