Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-199

Startup script should fail on "multiple" invocations of "start" (or "stop")

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Packaging
    • None

    Description

      If I do

      1. /etc/init.d/trafficserver start
      2. /etc/init.d/trafficserver start

      I'd expect the second invocation to give an error, [NO]. Same thing with stop, if I run stop multiple times, if there are no process(es) to stop, each invocation ought to generate errors as well, e.g.

      root@loki 507/0 # ./local/bin/trafficserver stop
      Stopping : [ OK ]
      Stopping : [ OK ]
      Stopping : [ OK ]
      root@loki 508/0 # ./local/bin/trafficserver stop
      Stopping : [ NOT ]
      Stopping : [ NOT ]
      Stopping : [ NOT ]

      Attachments

        Activity

          People

            Unassigned Unassigned
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: