Skip to content

Instantly share code, notes, and snippets.

@cmarat
Created April 14, 2014 17:46
Show Gist options
  • Save cmarat/10668799 to your computer and use it in GitHub Desktop.
Save cmarat/10668799 to your computer and use it in GitHub Desktop.
virtuoso upstart config
description "Virtuoso Opensource 7"
author "cmarat@github"
# When to start the service
start on runlevel [2345]
# When to stop the service
stop on runlevel [016]
# Automatically restart process if crashed
respawn
# Essentially lets upstart know the process will detach itself to the background
expect fork
# Start the process
exec /usr/local/virtuoso-opensource/bin/virtuoso-t +wait +configfile /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment