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
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.
r...@loki 507/0 # ./local/bin/trafficserver stop
Stopping : [ OK ]
Stopping : [ OK ]
Stopping : [ OK ]
r...@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.