Yes the default kill will work (which is -TERM/-15). Ctrl-C is mapped to
SIGINT which is -INT/-2.
Although our startup scripts don't currently record the PID
On 3/21/11 7:16 PM, Andrig Miller wrote:
Shouldn't the server just respond to the equivalent of Ctrl-C,
which is kill -15 I believe?
Andy
----- Original Message -----
> From: "Scott Stark"<sstark(a)redhat.com>
> To: "Jason Greene"<jgreene(a)redhat.com>
> Cc: jboss-as7-dev(a)lists.jboss.org
> Sent: Monday, March 21, 2011 5:50:26 PM
> Subject: Re: [jboss-as7-dev] shutdown.sh equivalent
> For the current usage I need to be able to shutdown a standalone node,
> so we could just add shutdown option to the standalone.sh, or have the
> shutdown.sh. What is the syntax for shutting down a standalone
> instance
> via the CLI?
>
> On 3/21/11 4:38 PM, Jason Greene wrote:
>> The intention was that we would just use the CLI to do that.
>> Although currently we do t have the convenience commands yet, the
>> CLI just executes management operations. We could make a shutdown.sh
>> that calls the CLI with the convenience command, if you think people
>> will expect it. It would not work for domain mode though.
>>
>> Sent from my iPad
>>
>> On Mar 21, 2011, at 6:29 PM, Scott Stark<sstark(a)redhat.com> wrote:
>>
>>> What is the as7 equivalent of the shutdown.sh command?
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Jason T. Greene
JBoss, a division of Red Hat