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: "Peter St. Onge" <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Startup scripts under Linux systemd ?
  • Date: Thu, 9 Feb 2017 17:12:27 -0500
  • Ironport-phdr: 9a23:caBHSx/jL8VNDv9uRHKM819IXTAuvvDOBiVQ1KB31u8cTK2v8tzYMVDF4r011RmSDNmdu68P0rGO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFHiTanYr5/LBq6oRjfu8UKnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahNFugqJVoByvpBJxzIDbb46XKPVwcbjQfc8ZSGdbQspdSyJMD4G6YoASD+QBJ+FYr4zlqlcAtxWxGxWsC/31yjRVm3H2wbc22Pk4HwHA0wwvAdwCu2nTodXtKqgSTf66wLPTzTXfaPNW3zj955bTfxA8vfGMWqhwcc3XyUkzEAPJlEmfppb8Mj6Ty+8DvW+b7+96WuKujW4qswBxoj6zxsgykInJgJwaykza+Slj3ok6OMC4RUhmatCnCJtdrzyWO5V1T884Xm1kpDo2xqcbtZO1YiQG0okryh3RZvCfcYWF7QjvWPuPLTtihX9pYq+zihW2/EWm1+byTNO70ExQoSpAitTMtm4C1xjU6sWfUfR9412h1iiV2ADO6exJL1o4lazAK5I7374wip0TsV7EHi/whEX2i7WaeVk+9eSw6uTnZKvppoOEOoNplA3zMb4iltGjDegkKAQCQmaW9fqm2LH+/kD0Tq1GjvgsnanYtJDaK94bpqm8AwJNyoYs9Qq/ACm83NQDgXkHK1RFeB2ZgIXyJlHOPPf4De24g1SqjDdrwOrKMaH7DZnVNHjMjK/hfaph605b0Aczwspf55VJCrEZPv3zQFb9tMHDDhAnKQy02P3qCNF81oMFRWKPGbGVPLnTsV+O+uIgPfOMZIkLtzbhNfQp/eDhgmIkmQxVQa78l7sGen2iWrxNI1+YejCk1tIKEXYYsxAWTffhzkCaXDhVIXu+QvRvyCs8DdfsNYrfS5rlu6DHlAC9EZAcLjReB0yBV2z0cIOLVt8RdCWIJcl9lXoPXO7yGMcayRiyuVqimPJcJe3O93hAuA==

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

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?


-----Original Message-----

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

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, --
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