anchor.diff:  OPENIDM_HOME=<%= @home %>
   OPENIDM_CONF=<%= @conf %>
   OPENIDM_USER=<%= @system_user %>
  -OPENIDM_PID_FILE=/tmp/openidm/openidm.pid
  +OPENIDM_PID_FILE=/var/run/openidm.pid
   OPENIDM_OPTS="<%= @java_opts %>"
   
   cd ${OPENIDM_HOME}
  
positive.code:       exit 1
      fi
    fi
    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"
  
negative.code:         exit 1
        else
          echo "OpenIDM ($OPENIDM_PID) stopped"
          cleanupPidFile()
          exit 0
        fi
      fi
  