Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-354

Convert memcached.sh into startServer.sh

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • None
    • None
    • Remote Protocols
    • None

    Description

      > Galder
      >
      > I notice you have a memcached.sh script to start the memcached server.
      > I believe this should be something like startServer.sh, given that we
      > are not actually starting memcached?

      Hmmm, depends how you look at it. You could say that we're starting
      Infinispan implementation of memcached, which is memcached still

      >
      > And perhaps the script could be reused for HotRod as well ... passing in
      > a flag to specify which protocol to speak, perhaps something like:
      >
      > $ startServer.sh -p memcached
      >
      > or
      >
      > $ startServer.sh -p hotrod
      >
      > Perhaps org.infinispan.server.memcached.Main could be in the server/core
      > module instead, and based on the protocol flag passed in, kick start the
      > appropriate server? WDYT?

      I'm easy with either option. Having a single startServer.sh script fro
      both servers makes it easy to maintain since there's a single script
      rather than 2.

      I'll create a JIRA for this.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: