The script referenced in the text (also found in the archives) does not work for Ubuntu. There are two main issues.
- There is a typo in the "reload" section (stat-stop-daemon is not a valid command).
- The stop functionality does not work - in fact, it actually loads another copy of lsearchd and java.
Has anyone been able to overcome these issues and have a properly functioning script for Ubuntu?
Reference: LSearch Daemon Init Script for Ubuntu