<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-12-19 2:58 GMT+01:00 Reindl Harald <span dir="ltr"><<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 19.12.2017 um 02:23 schrieb Cecil Westerhof:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
2017-12-19 1:36 GMT+01:00 Reindl Harald <<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a> <mailto:<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a><wbr>>>:<span class="gmail-"><br>
<br>
<br>
<br>
Am 18.12.2017 um 19:40 schrieb Cecil Westerhof:<br>
<br>
tomcat8.service is not a native service, redirecting to<br>
systemd-sysv-install.<br>
Executing: /lib/systemd/systemd-sysv-inst<wbr>all disable tomcat8<br>
<br>
Other services I can enable and disable. I can stop (and start)<br>
tomcat 8, but then I always have to stop tomcat8 after a reboot.<br>
<br>
What could be the problem?<br>
<br>
<br>
your distribution / package<br>
<br>
as you can see it's not a systemd unit at all<br>
/etc/init.d/tomcat8<br>
<br>
use "systemctl mask" instead "sytecmtl disable" if you *really* want<br>
to disable stuff and ensue it never ever can be enabled again<br>
<br>
<br>
That works. Not important at the moment, but is there a way to install it correctly?<br>
</span></blockquote>
<br>
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<br>
</blockquote></div><br><div style="font-family:courier new,monospace" class="gmail_default"><div style="font-family:courier new,monospace" class="gmail_default">I found and used (with a few modifications):<br> <a href="http://unquietwiki.blogspot.nl/2015/05/the-simplest-way-to-get-tomcat-as.html" target="_blank">http://unquietwiki.blogspot.<wbr>nl/2015/05/the-simplest-way-<wbr>to-get-tomcat-as.html</a><br><br></div><div style="font-family:courier new,monospace" class="gmail_default">That did not work.<br><br></div><div style="font-family:courier new,monospace" class="gmail_default">I now found:<br> <a href="https://technet.sector19.net/linux/create-systemd-service-for-tomcat/" target="_blank">https://technet.sector19.net/<wbr>linux/create-systemd-service-<wbr>for-tomcat/</a><br></div><div style="font-family:courier new,monospace" class="gmail_default"><br>When I have a bit more time I am going to try that one.</div></div><br clear="all"><br>-- <br><div class="gmail_signature">Cecil Westerhof</div>
</div></div>