On Tue, Jan 8, 2019 at 9:58 AM John Dale <jcdw...@gmail.com> wrote: > I'm using init.d and a custom script complete with single command > deploy using git hooks. > > git push <remote> 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? >
It can be enabled on "Wheezy" (Debian 7, c. 2013, these names only add to the confusion, I had to look it up), but that was the last Debian version to use init.d. Debian 8 (Jessie) already came with systemd in 2015 [1]. Is init.d going out of style? > Yes, for the better part of 5 years now. > I've been using it since .. I can't even remember. 1998 maybe on Fedora? > That might be the issue ;) Igal [1] https://en.wikipedia.org/wiki/Debian_version_history#Debian_7_(Wheezy) > > > On 1/8/19, John Larsen <john.lar...@javapipe.com> 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. > > > > > > John Larsen > > > > > > > > On Tue, Jan 8, 2019 at 10:26 AM Igal Sapir <i...@lucee.org> wrote: > > > >> On Tue, Jan 8, 2019 at 9:08 AM John Larsen <john.lar...@javapipe.com> > >> 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 different ports with > >> different settings. I can't find it easily ATM though. > >> > >> I think that it'd be good if Tomcat came with such a script so that it's > >> easy to install as a systemd service. > >> > >> Igal > >> > >> > >> > 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 < > joel.saund...@zones.com> > >> > wrote: > >> > > >> > > All, > >> > > > >> > > > >> > > > >> > > I just installed Tomcat 8.5 on RedHat. > >> > > > >> > > > >> > > > >> > > The previous tomcat6 install was setup so that I could use the linux > >> > > service command to start and stop. > >> > > > >> > > I’d like to take that feature away from the tomcat6 > >> install > >> > > and add it for the new tomcat85 install. > >> > > > >> > > > >> > > > >> > > I’d also like for tomcat85 to be able to autostart upon reboots. > >> > > > >> > > > >> > > > >> > > Lastly, I’d like the logs to go to /var/log/tomcat8 if possible. > >> > > > >> > > > >> > > > >> > > Can anyone point me to the correct way to accomplish these > >> requirements? > >> > > > >> > > > >> > > > >> > > Thanks in advance for your cooperation. > >> > > > >> > > > >> > > > >> > > … Joel > >> > > > >> > > > >> > > > >> > > *JOEL SAUNDERS* > >> > > > >> > > > >> > > > >> > > SR. DBA/ARCHITECT, MANAGED SERVICES | Zones, Inc. > >> > > > >> > > W: 518-652-4089| C: 518-265-0771 > >> > > joel.saund...@zones.com | zones.com <https://nfrastructure.com/> > >> > > > >> > > <http://zones.com/> > >> > > > >> > > > >> > > > >> > > <https://www.facebook.com/nfrastructure/> > >> > > <https://www.linkedin.com/company/nfrastructure/> > >> > > <https://twitter.com/nfrastructure> > >> > > <https://www.youtube.com/user/nfrastructure1992> > >> > > > >> > > > >> > > > >> > > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >