Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagebash
#!/bin/bash
ssh <<adminuser>>@<<OCRKit.appliance.name>> "nice -n 10 /Applications/OCRKit\ Pro.app/Contents/MacOS/OCRKit\ Pro --format text --output $1 $2"

 

  • Make sure in "commands.conf" file of auto-deploy client specific repository, the following commands are added to the nuxeo container definition (under section "elif [ ${1} = "NUXEO" ] then") so as to be added the container run command.:

 

Code Block
  add_volume "/<storage_path>/nuxeo/ssh" "/home/nuxeo/.ssh"
  add_volume "/<storage_path>/nuxeo/scripts/ocrKit" "/usr/bin/ocrKit"

Persistent NFS mount:

To simplify setting up the persistent NFS mount on the mac (and indeed work around some bug that had been in the NFS stack for a while), the following script can be used – edited using ScriptEditor to fill in the missing parameters. Define this script as startup document in your mac; it will check if an NFS volume is mounted and if not, mount it.

The below script is provided without prejudice, liability, warranty or support. If you do not agree, please do not use this script.

Note: You need to run two versions of this script, one for the /tmp mountpoint and one for the /data mountpoint.

View file
nameRemount data drive.zip
height250