Created
August 7, 2014 06:45
-
-
Save charl/1d04f2a9789a4036b749 to your computer and use it in GitHub Desktop.
SSDB upstart script for process management under Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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