Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 1/8/19 12:49, John Dale wrote: > I'm using init.d and a custom script complete with single command > deploy using git hooks. > > git push master pushes, builds, and bounces Tomcat. I > like it very much .. building and deploying can be

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joel, On 1/8/19 12:01, Joel Saunders wrote: > I just installed Tomcat 8.5 on RedHat. Which flavor? Are you using the package-managed version, or one directly from ASF? The yum package-maintainer for Tomcat is a member of this list, so he should

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread Roger Marquis
Igal Sapir wrote: John Larsen wrote: Setup an init script. On modern Linux systems you should really use systemd instead of the old init scripts. Depends on your definition of modern. Most Docker containers, many versions of Linux and all versions of Unix use init scripts. Docker at least

RE: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread Joel Saunders
,, Joel -Original Message- From: Igal Sapir [mailto:i...@lucee.org] Sent: Tuesday, January 08, 2019 1:12 PM To: Tomcat Users List Subject: Re: Proper way to set up tomcat 8.5 (autostart and service setup) On Tue, Jan 8, 2019 at 9:58 AM John Dale wrote: > I'm using init.d and a custom scr

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread John Dale
Not having an issue, but if I upgrade I will it seems .. bo! init.d is so engraved in my neural patterns it will be a shame to have such a useless deep groove. I hate the names, too .. that's what happens when you give marketing people too much leash. Not only do they seem to forget how to

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread Igal Sapir
On Tue, Jan 8, 2019 at 9:58 AM John Dale wrote: > I'm using init.d and a custom script complete with single command > deploy using git hooks. > > git push master pushes, builds, and bounces Tomcat. I like > it very much .. building and deploying can be such a pain. > > Is systemd something

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread Igal Sapir
On Tue, Jan 8, 2019 at 9:39 AM John Larsen wrote: > I simply tie systemd with the init script. Our servers host around 20-30 > tomcat instances. I found it easier do it this way. > It's easier for you because you're more familiar with the init scripts, but tying a modern system into an older

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread John Dale
I'm using init.d and a custom script complete with single command deploy using git hooks. git push master pushes, builds, and bounces Tomcat. I like it very much .. building and deploying can be such a pain. Is systemd something that is available on debian wheezy? Is init.d going out of

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread John Larsen
I simply tie systemd with the init script. Our servers host around 20-30 tomcat instances. I found it easier do it this way. John Larsen On Tue, Jan 8, 2019 at 10:26 AM Igal Sapir wrote: > On Tue, Jan 8, 2019 at 9:08 AM John Larsen > wrote: > > > Setup an init script. > > > > On modern

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread Igal Sapir
On Tue, Jan 8, 2019 at 9:08 AM John Larsen wrote: > Setup an init script. > On modern Linux systems you should really use systemd instead of the old init scripts. I've written in the past a script that can be used as a systemd template, so it allowed for multiple services to be run on

Re: Proper way to set up tomcat 8.5 (autostart and service setup)

2019-01-08 Thread John Larsen
Setup an init script. This is similar to how I do it. https://gist.github.com/katesclau/0ff6e41fd698e94eb43c John Larsen On Tue, Jan 8, 2019 at 10:01 AM Joel Saunders wrote: > All, > > > > I just installed Tomcat 8.5 on RedHat. > > > > The previous tomcat6 install was setup so that I could