anchor.diff:    echo "Scaling up..."
   
     if [ "${APP_RUNNER_TYPE}" = "upstart" ]; then
  -    # copy initd
  -    cp $(_p "${APP_HOME}/vendor/pkgr/scaling/upstart/${APP_NAME}") $(_p "/etc/init.d/")
  -    chmod 0755 $(_p "/etc/init.d/${APP_NAME}")
  -    # copy master
  -    cp $(_p "${APP_HOME}/vendor/pkgr/scaling/upstart/${APP_NAME}.conf") $(_p "/etc/init/")
  -    # copy master process
  -    cp $(_p "${APP_HOME}/vendor/pkgr/scaling/upstart/${APP_NAME}-${PROCESS_NAME}.conf") $(_p "/etc/init/")
  -
       for i in $(seq ${SCALE_DELTA}); do
         index=$((${i} + ${CURRENT_SCALE}))
         PROCESS_ID="${APP_NAME}-${PROCESS_NAME}-${index}"
  
positive.code:   CURRENT_SCALE=${CURRENT_SCALE:="0"}
    SCALE_DELTA=$((${NEW_SCALE} - ${CURRENT_SCALE}))
  
    if [ $SCALE_DELTA -gt 0 ]; then
      scale_up "${PROCESS_NAME}" $CURRENT_SCALE $NEW_SCALE $SCALE_DELTA
    elif [ $SCALE_DELTA -lt 0 ]; then
  
negative.code:     $APP_RUNNER_CLI start ${APP_NAME}-${PROCESS_NAME} || true
      $APP_RUNNER_CLI start ${APP_NAME} || true
    elif [ "$APP_RUNNER_TYPE" = "systemd" ]; then
      for i in $(seq ${SCALE_DELTA}); do
        index=$((${i} + ${CURRENT_SCALE}))
        PROCESS_ID="${APP_NAME}-${PROCESS_NAME}-${index}"
  