You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Jason Giedymin (JIRA)" <ji...@apache.org> on 2010/02/23 04:05:27 UTC

[jira] Commented: (TS-199) Startup script should fail on "multiple" invocations of "start" (or "stop")

    [ https://issues.apache.org/jira/browse/TS-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837051#action_12837051 ] 

Jason Giedymin commented on TS-199:
-----------------------------------

I've submited a quick ubuntu patch.

To DO: (which i'm working on atm)
Implementing pid wait
Testing on fedora system to test on.

Figured I could get this patch out for 2.0.0?

> Startup script should fail on "multiple" invocations of "start" (or "stop")
> ---------------------------------------------------------------------------
>
>                 Key: TS-199
>                 URL: https://issues.apache.org/jira/browse/TS-199
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Leif Hedstrom
>            Priority: Minor
>         Attachments: TS-199_r1.patch
>
>
> If I do
> # /etc/init.d/trafficserver start
> # /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  ]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.