Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Latest commit

 

History

History
25 lines (16 loc) · 1.54 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.54 KB

stardog-ubuntu-scripts

Licensed under the Apache License, Version 2.0
Current Version 0.2

This is a library of scripts that allows for an easier time running the Stardog RDF Database on an Ubuntu server.

Stardog

#Upstart#

The upstart folder contains a configuration script for a Stardog Upstart job, allowing the Stardog server to run automatically at startup, shut down gracefully at system shutdown, and to be recovered automatically in case of system failure. The folder also contains the sh scripts run by the job.

###Usage###

The scripts will expect that the following variables are set in the 'env' lines of stardog.conf. Without explicitly setting them in there, the upstart job will not start.

  • $STARDOG_UID - The uid of the user as which you wish to run the Stardog server
  • $STARDOG_GID - The gid of the user as which you wish to run the Stardog server
  • $ROOTJAIL - The location of the root jail in which you wish to run the Stardog server. Keep unset if you do not wish to use a root jail.
  • $STARDOG_LOCATION - The location of the Stardog installation, relative to $ROOTJAIL
  • $STARDOG_HOME - Optionally, the location of your Stardog home directory. If left unset, will default to $ROOTJAIL/$STARDOG_LOCATION

Simply place stardog.conf into the /etc/init directory, and schild and sparent into $ROOTJAIL/$STARDOG_LOCATION. As root, run "start stardog" to start the server