Displaying 1 result from an estimated 1 matches for "rorpath".
Did you mean:
  errorpath
  
2007 Apr 23
1
Launching DRb server on reboot: solved
...ret DRb startup script will do the trick.  Here''s our entire
startup script:
#!/bin/bash
#
# This script starts and stops the ferret DRb server
# chkconfig: 2345 89 36
# description: Ferret search engine for ruby apps.
#
# save the current directory
CURDIR=`pwd`
PATH=/usr/local/bin:$PATH
RORPATH="/path/to/ror_root"
case "$1" in
   start)
      cd $RORPATH
      echo "Starting ferret DRb server."
      FERRET_USE_LOCAL_INDEX=1 \
                 script/runner -e production \
                 vendor/plugins/acts_as_ferret/script/ferret_start
      ;;
   stop)...