Skip to content

Instantly share code, notes, and snippets.

@7hunderbird
Created April 8, 2009 04:48
Show Gist options
  • Save 7hunderbird/91641 to your computer and use it in GitHub Desktop.
Save 7hunderbird/91641 to your computer and use it in GitHub Desktop.
sphinx.app_name.monitrc
check process sphinx_<app_name>_3312
with pidfile /var/run/sphinx/<app_name>.pid
start program = "/engineyard/bin/thinking_sphinx_searchd <appname> start" as uid <user_name> and gid <user_group>
stop program = "/engineyard/bin/thinking_sphinx_searchd <appname> stop" as uid <user_name> and gid <user_group>
group sphinx_<appname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment