Skip to content

Instantly share code, notes, and snippets.

@charl
Created August 7, 2014 06:45
Show Gist options
  • Save charl/1d04f2a9789a4036b749 to your computer and use it in GitHub Desktop.
Save charl/1d04f2a9789a4036b749 to your computer and use it in GitHub Desktop.
SSDB upstart script for process management under Ubuntu
description "SSDB - A fast NoSQL database alternative to Redis"
author "Charl Matthee <charl@89n.com>"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
respawn
respawn limit 10 5
chdir /usr/local/ssdb
exec /usr/local/ssdb/ssdb-server /usr/local/ssdb/ssdb.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment