home » dokk/dokk.org.git
ID: 792d75120c1774cefb00d919bd489f0c85224f07
38 lines — 1K — View raw


# systemd service file for starting the Fuseki 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]
# Edit the line below to adjust the amount of memory allocated to Fuseki
Environment=JVM_ARGS=-Xmx2G

# 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_base

# Command for launching the Fuseki server
# Arguments must be passed via command line because the server is started before
# the configuration file is read.
ExecStart=/home/fuseki/fuseki_server/fuseki-server --localhost

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