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" <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Startup scripts under Linux systemd ?
  • Date: Thu, 9 Feb 2017 22:15:47 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:Dl6vOxYHC9PKfajNrdIJTSv/LSx+4OfEezUN459isYplN5qZrsS4bnLW6fgltlLVR4KTs6sC0LuK9fC9EjVbut6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twbcu8kZjYd/JKs8xAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDMi7mrZltJ/g75aoBK5phxw3YjUYJ2ONPFjeq/RZM4WSXZdUspUUSFKH4GyYJYVD+cZPehWsZTzp0cAoxW9CwmjBuLvxSNHiHD5xqA6z/8uHR3a0AA8A94DsnLZp8j1OqcIVuC1ybHFwTvBYfJW2Dby9pLIfgg8qvySXbJwa8vRyVIhGwjYiViQrJDqPzOV1+UMrWeb9fFtVeO0i2E7sQ1xvyCvydkqionPnI4a1E3L9ThgzYszONa2Rkl7Ydu+H5tRsSGXL4R2QtgiQ21yoyY6yqUKuZ+9fCgW1psn3RjfZOKbc4SW+B7sSvueISp+iXl4e7y/nw6//Va6xeHgS8W51UtGojdYntTJuHAA2ADf5tSCR/Z/4Eis1iqD2gXW5+1aPUw4iLLXJ4Mvz7IsjJYetVnPEjXolEnriKKabFgo9+qp5unhf77ovIWTN5VuhQH7KqkumtKwAeA/MgUWR2aW5eOy2KH+8UHgXbtEluA6nrDesJ/BO8sXvKm5AxJJ0ok47Ba/EjGm38kCkXkfNlJFfw6HgJb1NFHSIfD4CvG/j06rkDd22/DGOrrhApLOLnTZjLjherN951ZdyAo1099f+4pZBq8bL/7vR0P8scHUAgIkPwGxzebqB8lx2p8bVG+NHKCUP7/evFqN6+4xP+WAeZcZuDPnJPgk4/7ug2U5mVgYfaSx2JsYdHC4H/RnIkqHe3rhmdYBEXwWsQYkUezqkEONUThVZ3qoQa0z+yw7BJq8DYjfXoCtnKCB3CCjE51ZfGBGDU2MEW/2eIWeQvsMdTmSLdF7kjwfTrWhT44h1QqytA/h1bZrNOvU+isEtZ39zth14fPclQ0s+TBuEcuSznyNHClImTZCfzIq0bo3mlA7gnCF3qUyy6hAGMBeoehVVQE1OLbB0+tgDNbuXUTKd4HaZkyhR4DsISAjQ8h1i/QOeUdmUZ32ixvDzjinGZcUjLfNGYQ59KSa0nTscZUug03a3bUs2gF1CvBEMner0+smr1De
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Is it unreasonable to require /bin/bash? i.e. if its not there they need to
either make a symlink for it or edit gsh/gsh.sh?

Thanks
Chris

-----Original Message-----
From: Peter St. Onge
[mailto:]

Sent: Thursday, February 09, 2017 5:12 PM
To: Hyzer, Chris
<>
Cc:

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

Hi Chris,

Many thanks!

Might be able to do this as a heredoc to suss out the location of bash.
If anybody here has bash *not* in /bin please flag me -- I might ask you
to test something.

Thanks and best, -- pete


On 2017-02-09 04:41 PM, Hyzer, Chris wrote:
> 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