Repository: jena
Updated Branches:
  refs/heads/master 635466a1e -> ab9c84390


JENA-1511: consider 143 (killed by SIGTERM) a succesful exit status for the 
fuseki service


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/ab9c8439
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/ab9c8439
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/ab9c8439

Branch: refs/heads/master
Commit: ab9c843905e350fad2e5d932ef1c8ccb868cae12
Parents: 635466a
Author: Osma Suominen <osma.suomi...@helsinki.fi>
Authored: Wed Mar 28 10:37:11 2018 +0300
Committer: Osma Suominen <osma.suomi...@helsinki.fi>
Committed: Wed Mar 28 10:37:11 2018 +0300

----------------------------------------------------------------------
 jena-fuseki2/apache-jena-fuseki/fuseki.service | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/ab9c8439/jena-fuseki2/apache-jena-fuseki/fuseki.service
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/fuseki.service 
b/jena-fuseki2/apache-jena-fuseki/fuseki.service
index 3157983..edb47a1 100644
--- a/jena-fuseki2/apache-jena-fuseki/fuseki.service
+++ b/jena-fuseki2/apache-jena-fuseki/fuseki.service
@@ -41,6 +41,9 @@ ExecStart=/opt/fuseki/fuseki-server
 # Run as user "fuseki"
 User=fuseki
 Restart=on-abort
+# Java processes exit with status 143 when terminated by SIGTERM, this
+# should be considered a successful shutdown
+SuccessExitStatus=143
 ### By default, the service logs to journalctl only.
 ### If additional logging to a file is required, uncomment the following three 
lines
 # StandardOutput=syslog

Reply via email to