Skip to content

Instantly share code, notes, and snippets.

@marianogg9
Created February 10, 2014 14:09
Show Gist options
  • Save marianogg9/8916561 to your computer and use it in GitHub Desktop.
Save marianogg9/8916561 to your computer and use it in GitHub Desktop.
# redis-commander
#
# This service maintains redis-commander service up and running.
# Redis-commander is the Redis web console (redis.cloud-turner.com.ar).
respawn
env SSL_CERT_FILE=/etc/sensu/handlers/cacert.pem
pre-start script
#env SSL_CERT_FILE=/etc/sensu/handlers/cacert.pem
echo '{"name": "Redis-commander_respawn", "output": "Redis-commander service respawned", "status": 2, "handlers": ["twitter"], "ocurrences":1, "interval":1, "flapping":false}' | nc localhost 3030
end script
exec redis-commander
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment