Created attachment 350710 [details]
Current app-misc/sphinx ebuild does not support multiple instances. 2 files attached:
- searchd - init script with multiple instances support. User should create link to /etc/init.d/searchd and configuration file inside /etc/sphinx/ with appropriate name.
- sphinx - logrotate configuration file to rotate logs for multiple running instances.
Please add to portage tree.
Steps to Reproduce: None
Actual Results: Sphinx can run only one instance with the default init script.
Expected Results: Sphinx init script should be able to launch multiple instances by symlinking.
Created attachment 350712 [details]
logrotate config file
Btw, it worth to add something like this to ebuild:
einfo "If you want to run multiple Sphinx instances:"
einfo "- make a link of /etc/init.d/searchd"
einfo "- create a copy of /etc/sphinx/sphinx.conf with appropriate name"
einfo "- Change listen, log, query_log, pid_file and binlog_path in config file"
einfo "- Start new instance using appropriate init script (link)"