[java-idp-plugin-jetty] branch main updated: A sample unit file that assumes a script doing --exec

Scott Cantor cantor.2 at osu.edu
Thu Oct 9 17:46:53 UTC 2025


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=f946fcac1c99a1260e035120fb3aeb1a7d7439e7

The following commit(s) were added to refs/heads/main by this push:
     new f946fca  A sample unit file that assumes a script doing --exec
f946fca is described below

commit f946fcac1c99a1260e035120fb3aeb1a7d7439e7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 9 13:46:49 2025 -0400

    A sample unit file that assumes a script doing --exec
---
 .../net/shibboleth/idp/module/jetty/jetty.service  | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/jetty.service b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/jetty.service
new file mode 100644
index 0000000..b9d28b9
--- /dev/null
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/jetty.service
@@ -0,0 +1,25 @@
+[Unit]
+Documentation=https://www.eclipse.org/jetty/documentation/
+Description=Jetty Server 
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=forking
+
+User=root
+Group=root
+
+Restart=no
+TimeoutSec=45
+KillMode=process
+
+# TODO: Not sure what these paths should be.
+
+WorkingDirectory=/opt/jetty
+
+ExecStart=/opt/jetty/jetty-start.sh
+
+ExecStop=/bin/kill ${MAINPID}
+
+SuccessExitStatus=130 143

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list