You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/03/31 10:50:00 UTC

[GitHub] [jena] afs commented on a diff in pull request #1821: Create sparqler.service

afs commented on code in PR #1821:
URL: https://github.com/apache/jena/pull/1821#discussion_r1154324129


##########
jena-fuseki2/jena-fuseki-main/sparqler/sparqler.service:
##########
@@ -0,0 +1,39 @@
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+
+#
+# This script runs sparqlr under systemd.  

Review Comment:
   ```suggestion
   # This script runs sparqler under systemd.  
   ```



##########
jena-fuseki2/jena-fuseki-main/sparqler/sparqler.service:
##########
@@ -0,0 +1,39 @@
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+
+#
+# This script runs sparqlr under systemd.  
+#
+# Assumptions:
+#  sparqler is installed in /etc/jena/sparqler
+#  apache2.service is installed in systemd
+#  apache2 is configured to redirect specific requests to the fuseki server
+#
+# Install
+#  create a symbolic link from /lib/systemd/system/sparqler.service to /etc/jena/sparqler.service
+#  execute "sudo systemctl daemon-reload"
+#  execute "sudo systemctl enable sparqler.service"
+#  execute "sudo systemctl start sparqler.service"
+# 
+#  Fuseki will now be running and if apache2 is configured properly requests should be redirected to it.
+#
+# Update
+#  execute "sudo systemctl daemon-reload"
+#  execute "sudo systemctl restart sparqler.service
+
+[Unit]
+Description=SPARQLR server

Review Comment:
   ```suggestion
   Description=SPARQLER server
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org