Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Startup scripts under Linux systemd ?

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Startup scripts under Linux systemd ?


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Peter St. Onge" <>, "" <>
  • Subject: RE: [grouper-users] Startup scripts under Linux systemd ?
  • Date: Thu, 9 Feb 2017 21:41:43 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:4q4BhhXGyudEdIZ3CmkaRw21wUjV8LGtZVwlr6E/grcLSJyIuqrYZRSFtKdThVPEFb/W9+hDw7KP9fuxBSpQvN3Y6i9KWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIhi7qQrcutMVjIZiJao91wXFr3lVcOlK2G1kIk6ekQzh7cmq5p5j9CpQu/Ml98FeVKjxYro1Q79FAjk4Km45/MLkuwXNQguJ/XscT34ZkgFUDAjf7RH1RYn+vy3nvedgwiaaPMn2TbcpWTS+6qpgVRHlhDsbOzM/7WrakdJ7gr5Frx29phx/24/Ub5+TNPpiZaPWYNcWSXNcUspNSyBNB4WxZJYNAeUcJ+ZVt4nzqUUToxuiCweiB+3vxT1JhnDq0qM13P8sER3d0wA8A94CrGjYodfzOawPUe611q7IzTDbYv9Y2zn86InJfQ47of2UQLl9b8rRyVMuFwPegFmbtIvoPzaJ2eQNs2ma7vRvVfi0hm4msAF+viKjxto0iobXgIIVzErI+jtkz4YoPNC1TlNwb9CjEJtVrS6aNo12T9sjQ2FupCY11KcGuZilcygW1pgr3QDQZOGac4WO/xntV/6RLC9miH1/ZL6zmhO//VW9xuHhU8S03llHojZZntTJtH0CyRPe58iCR/Z44EutxTKC2xjO5uxKPUw4j67WJ4M7zrIui5YetV7PEjL0lUj3iqKda18q9fKy6+v9Z7Xrvp+cOJFwigH5KqkggtCyD+MkPgQQRmSW5+az2KD68U3+W7pFkOc6kq7EsJDGPssbobO5AwlI3Yo58xa/FTCm0MgGknYbMFJFeRWHj47zN1HJPfD4EfO/g1OrkDdo3fzJIrrhApDVInjClrfuY6p95lZCxAUp0dxT+pdZBqwcLP7uX0LxutPVAgMlPwGxwevoFtpw24MbVG+KHKOVLKffvUeN5u01IumMYIEVuCz6K/gg//PuiGM2mV8dfKiow5QXcmu1HvV9I0qFe3bsn88BHnkMvgo4VuDllkCNUSNLa3aoQ608/i07CJ6hDYrbSYCtmruB3DqjHpJIfGBKE02MEWz2eIWeQPcBcyaSIs56kjwYTritVZUt1RCotA/m1bVnNOzU9TMEtZ79ztR6+fDclQxhvQBzWo6l3n2AVSlPgiVAYDk50eo39VRw1lrFyrR/hfNVPcFP4OlOVBs9c5XVmagyQd/oXR/Zc83MVU2rWM6OADctQ8g3zsNUJUtxBp/q2h/Z2DeyDqVQiqeGHocc86TA0mL3KtonjXvKyf9yoUMhR54FFXy0i7Q7vyPTHY/S2Q3Nkq2qZLYRxgbM72zF0HKDukceXQJtB/aWFUsDb1fb+IyqrnjJSKWjXPF+alNM
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I posted these in your contrib space, and linked from the existing grouper
loader startup script

https://spaces.internet2.edu/display/Grouper/Grouper+loader+and+tomcat+startup+scripts+systemd

https://spaces.internet2.edu/display/Grouper/GrouperShell+GSH+loader+linux+service

I think we don’t have #!/bin/bash at top because some systems have it in a
different place. Maybe the installer should sort that out? Anyone have
advice about that?

Thanks
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Peter St. Onge
Sent: Thursday, February 09, 2017 9:22 AM
To:

Subject: [grouper-users] Startup scripts under Linux systemd ?

Not sure if this is useful or even relevant, but I've cobbled together a
couple of Linux systemd service description files for Tomcat as well as
the Grouper loader that I'm happy to contribute / document; this
simplifies the automatic startup for both of these. Since we have shibd
and Apache as a reverse proxy (Shibboleth service provider) in front of
Tomcat, as well as a local PostgreSQL, the machine startup / service
restart dependencies are more easily handled this way.

(The one caveat is that Unix scripts used for gsh -- gsh, gsh.sh --
won't run this way as they don't have the #!/bin/bash "splat-bang"
header line that sets out the interpreter, easily fixed manually but it
would be more useful if these files were changed in the source code
assuming that it wouldn't cause issues elsewhere)

Thanks and best, -- pete

--
Peter St. Onge

Information Security Architect
Business Continuity and Communications
Information + Technology Services University of Toronto



Archive powered by MHonArc 2.6.19.

Top of Page