Skip to content

Instantly share code, notes, and snippets.

@jaylett
Created September 15, 2011 13:05
Show Gist options
  • Save jaylett/1219178 to your computer and use it in GitHub Desktop.
Save jaylett/1219178 to your computer and use it in GitHub Desktop.
Upstart conf for restpose
description "Restpose search server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
script
/usr/bin/setuidgid restpose /usr/bin/restpose -p 7777 -d /var/lib/restpose >> /var/log/restpose.log 2>&1
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment