You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/18 18:30:27 UTC
[Solr Wiki] Trivial Update of "Daemontools" by OtisGospodnetic
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by OtisGospodnetic:
http://wiki.apache.org/solr/Daemontools
------------------------------------------------------------------------------
1. install daemontools
+
2. create /etc/solr
+
- 3. create a user and group called solr
+ 3. create a user and group called solr
+
- 4. create shell script /etc/solr/run (edit to taste; I'm using the default jetty that comes with solr)
+ 4. create shell script /etc/solr/run (edit to taste; I'm using the default jetty that comes with solr)
#!/bin/sh
exec 2>&1
@@ -16, +19 @@
exec setuidgid solr java -jar start.jar
- 5. create /etc/solr/log/run containing:
+ 5. create /etc/solr/log/run containing:
#!/bin/sh
exec setuidgid solr multilog t ./main
+
6. ln -s /etc/solr /service/solr