[Mini-NDN] An advice about stopping mini

Ashlesh Gawande (agawande) agawande at memphis.edu
Thu Dec 1 10:53:13 PST 2016


Agreed, thanks. I will push a patch.


Ashlesh

________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Matteo Bertolino <Matteo.Bertolino at eurecom.fr>
Sent: Thursday, December 1, 2016 3:11:20 AM
To: mini-ndn at lists.cs.ucla.edu
Subject: [Mini-NDN] An advice about stopping mini

Good morning,
I suggest to change a bit the minindn script.
In my opinion sometimes it could be confortable stopping an
application running on mini without stopping mini.
Then, ctrl+c stops both.

I edited the minindn script letting the signal handler managing a
SIGQUIT instead of a SIGKILL. ( signal.signal(signal.SIGQUIT,
signal_handler)  )

Then with ctrl+c the application, like the ndnpingserver, is stopped.
With ctrl+\ minindn exit in a clean way.

matteo

-------------------------------------------------------------------------------
This message was sent using EURECOM Webmail: http://webmail.eurecom.fr

_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161201/2c91de95/attachment.html>


More information about the Mini-NDN mailing list