3 # A wrapper for the ruby-script
12 script='./edi_webrick.rb';
14 [ -r "$script" ] || die_msg "Cannot read script at $script";
15 #[ -d "$lib" ] || die_msg "Cannot find lib at $lib";
19 echo -n Starting translator in background with logging...
22 export RUBYOPT=rubygems
24 # Instead of logging to file, one could pipe to the logger command.
25 ruby $script --verbose >> /openils/var/log/edi_webrick.log 2>&1 &