質問

The issue is that the command I use to start sunspot, bundle exec sunspot-solr start, itself spawns a solr server, which is the actual process that needs to be monitored, not the original command. If I just set the start command, then it continually tries to respawn sunspot-solr start, which is unnecessary because the underlying solr process is still running. Any idea how I can properly monitor this? Thanks

役に立ちましたか?

解決

The start command forks Sunspot into the background. You may prefer to use the run command instead, which leaves Sunspot's bundled Solr server running in the foreground. That should be more compatible with tools like Foreman, Upstart and god.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top