home » dokk/data.git
ID: 311987506d28ed28dc5bfc4940c7f3983370eed7
37 lines — 1K — View raw


# This is an example service file for systemd. If using the Fuseki server, this
# service can be configured to automatically start the server.
#
# How to use this file:
#   - copy this file to /etc/systemd/system
#   - edit the variables below accordingly
#   - systemctl enable fuseki.service
#   - systemctl start fuseki.service

[Unit]
Description=Fuseki server for DOKK
After=network.target

[Service]
# Folder of the Fuseki installation files
Environment=FUSEKI_HOME=/home/fuseki/fuseki-server

# Fuseki runtime folder (will contain configuration files and other runtime files).
Environment=FUSEKI_BASE=/home/fuseki/fuseki-run

# Edit the line below to adjust the amount of memory allocated to Fuseki
Environment=JVM_ARGS=-Xmx2G

# Command for launching the Fuseki server
ExecStart=/home/fuseki/fuseki-server/fuseki-server --loc=/home/fuseki/database --port=6000 --localhost /dokk

User=fuseki
Group=fuseki
WorkingDirectory=/home/fuseki/fuseki-server
Restart=always

# Java processes exit with status 143 when terminated by SIGTERM, this
# should be considered a successful shutdown
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target