jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [1/4] jena git commit: JENA-1501: add systemd unit file for Fuseki
Date Mon, 12 Mar 2018 07:39:36 GMT
Repository: jena
Updated Branches:
  refs/heads/master 2ce86cdd7 -> 6e2028214


JENA-1501: add systemd unit file for Fuseki


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

Branch: refs/heads/master
Commit: a85333a8c821927eb4a58463859b5f6caa2d94e4
Parents: a92048a
Author: Osma Suominen <osma.suominen@helsinki.fi>
Authored: Thu Mar 8 17:19:08 2018 +0200
Committer: Osma Suominen <osma@apache.org>
Committed: Thu Mar 8 17:29:45 2018 +0200

----------------------------------------------------------------------
 .../apache-jena-fuseki/assembly-dist.xml        |  1 +
 jena-fuseki2/apache-jena-fuseki/fuseki.service  | 44 ++++++++++++++++++++
 2 files changed, 45 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/a85333a8/jena-fuseki2/apache-jena-fuseki/assembly-dist.xml
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/assembly-dist.xml b/jena-fuseki2/apache-jena-fuseki/assembly-dist.xml
index a5dfc40..9c5e0b6 100644
--- a/jena-fuseki2/apache-jena-fuseki/assembly-dist.xml
+++ b/jena-fuseki2/apache-jena-fuseki/assembly-dist.xml
@@ -86,6 +86,7 @@
       <includes>
         <include>log4j.properties</include>
         <include>fuseki</include>
+        <include>fuseki.service</include>
         <include>fuseki-server</include>
         <include>fuseki-backup</include>
         <include>fuseki-server.bat</include>

http://git-wip-us.apache.org/repos/asf/jena/blob/a85333a8/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
new file mode 100644
index 0000000..28ec3de
--- /dev/null
+++ b/jena-fuseki2/apache-jena-fuseki/fuseki.service
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# =========
+#
+# Fuseki service configuration / unit file for systemd
+#
+# Usage:
+# ------
+#
+# 1. Place this file under /etc/systemd/system/
+# 2. Adjust the paths and other settings below if necessary
+# 3. Activate using: sudo systemctl enable fuseki.service
+
+[Unit]
+Description=Fuseki
+
+[Service]
+# Edit environment variables to match your installation
+Environment=FUSEKI_HOME=/opt/fuseki
+Environment=FUSEKI_BASE=/etc/fuseki
+# Edit the line below to adjust memory size
+Environment=JVM_ARGS=-Xmx2G
+# Edit to match your installation
+ExecStart=/opt/fuseki/fuseki-server
+# Run as user "fuseki" - you will need to create this user first
+User=fuseki
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target


Mime
View raw message