JENA-1501: clarify usage instructions
Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/93a29c70 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/93a29c70 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/93a29c70 Branch: refs/heads/master Commit: 93a29c702b353b8102de6c1f838435abc3b16ff5 Parents: a85333a Author: Osma Suominen <o...@apache.org> Authored: Fri Mar 9 10:20:05 2018 +0200 Committer: Osma Suominen <o...@apache.org> Committed: Fri Mar 9 10:22:36 2018 +0200 ---------------------------------------------------------------------- jena-fuseki2/apache-jena-fuseki/fuseki.service | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/93a29c70/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 28ec3de..a9a8eb5 100644 --- a/jena-fuseki2/apache-jena-fuseki/fuseki.service +++ b/jena-fuseki2/apache-jena-fuseki/fuseki.service @@ -22,8 +22,10 @@ # ------ # # 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 +# 2. Create a system user called "fuseki" and make sure it has permission +# to access the Fuseki configuration and databases +# 3. Adjust the paths and other settings below if necessary +# 4. Activate using: sudo systemctl enable fuseki.service [Unit] Description=Fuseki @@ -32,11 +34,11 @@ Description=Fuseki # 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 +# Edit the line below to adjust the amount of memory allocated to Fuseki 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 +# Run as user "fuseki" User=fuseki Restart=on-abort