anchor.diff:        exit 1
       fi
     fi
  +  touch $OPENIDM_PID_FILE
  +  chown $OPENIDM_USER:$OPENIDM_USER $OPENIDM_PID_FILE
     su $OPENIDM_USER -s /bin/bash -c "$START_CMD eval echo \$\! > $OPENIDM_PID_FILE"
     OPENIDM_PID=`cat $OPENIDM_PID_FILE`
     echo "OpenIDM ($OPENIDM_PID) started"
  
positive.code: OPENIDM_HOME=<%= @home %>
  OPENIDM_CONF=<%= @conf %>
  OPENIDM_USER=<%= @system_user %>
  OPENIDM_PID_FILE=/tmp/openidm/openidm.pid
  OPENIDM_OPTS="<%= @java_opts %>"
  
  cd ${OPENIDM_HOME}
  
negative.code:         exit 1
        else
          echo "OpenIDM ($OPENIDM_PID) stopped"
          cleanupPidFile()
          exit 0
        fi
      fi
  