User Tools

Site Tools


redhat_opensrf_trunk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
redhat_opensrf_trunk [2010/04/15 15:42] leedredhat_opensrf_trunk [2010/04/21 15:08] leed
Line 121: Line 121:
  
 You might want to add these to start when the machine boots:<code bash> You might want to add these to start when the machine boots:<code bash>
-echo /opt/ejabberd/bin/ejabberdctl start >> /etc/rc.local +useradd -m -s /bin/bash ejabberd 
-chkconfig --level 345 memcached on</code>+chown ejabberd:ejabberd -R /opt/ejabberd 
 +cp /opt/ejabberd/bin/ejabberd.init /etc/init.d/ejabberd 
 +vi /etc/init.d/ejabberd 
 +</code> 
 +Now add these lines to the top of /etc/init.d/ejabberd immediately below the #!/bin/sh:<code bash> 
 +# chkconfig: 2345 95 20 
 +# description: ejabberd start/stop init script 
 +# Script to start and stop ejabberd 
 +# processname: ejabberd 
 +</code> 
 +Now Finnish adding these programs to autostart:<code bash> 
 +chkconfig --level 2345 ejabberd on 
 +/etc/init.d/ejabberd start 
 +chkconfig --level 2345 memcached on</code>
  
 Starting OpenSRF with the ''start_all'' option starts the OpenSRF router, Perl services, and C services. As the **opensrf** user, start OpenSRF (**NOTE**: use the ''-l'' flag only if you wish to force the hostname for the ''<hosts>'' section in ''opensrf.xml'' to be ''localhost''):<code bash> Starting OpenSRF with the ''start_all'' option starts the OpenSRF router, Perl services, and C services. As the **opensrf** user, start OpenSRF (**NOTE**: use the ''-l'' flag only if you wish to force the hostname for the ''<hosts>'' section in ''opensrf.xml'' to be ''localhost''):<code bash>
redhat_opensrf_trunk.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.