2017-12-19 2:58 GMT+01:00 Reindl Harald <h.rei...@thelounge.net>:

>
>
> Am 19.12.2017 um 02:23 schrieb Cecil Westerhof:
>
>> 2017-12-19 1:36 GMT+01:00 Reindl Harald <h.rei...@thelounge.net <mailto:
>> h.rei...@thelounge.net>>:
>>
>>
>>
>>     Am 18.12.2017 um 19:40 schrieb Cecil Westerhof:
>>
>>               tomcat8.service is not a native service, redirecting to
>>         systemd-sysv-install.
>>               Executing: /lib/systemd/systemd-sysv-install disable
>> tomcat8
>>
>>         Other services I can enable and disable. I can stop (and start)
>>         tomcat 8, but then I always have to stop tomcat8 after a reboot.
>>
>>         What could be the problem?
>>
>>
>>     your distribution / package
>>
>>     as you can see it's not a systemd unit at all
>>     /etc/init.d/tomcat8
>>
>>     use "systemctl mask" instead "sytecmtl disable" if you *really* want
>>     to disable stuff and ensue it never ever can be enabled again
>>
>>
>> ​That works. Not important at the moment, but is there a way to install
>> it correctly?​
>>
>
> just don't use legacy sysv-init scripts, no idea how much old cruft magic
> the tomcat ones contains which may be hard to port or not
>

​
​I found and used (with a few modifications):
    http://unquietwiki.blogspot.nl/2015/05/the-simplest-way-
to-get-tomcat-as.html

That did not work.

I now found:
    https://technet.sector19.net/linux/create-systemd-service-for-tomcat/

When I have a bit more time I am going to try that one.​
​


-- 
Cecil Westerhof
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to