Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

memcached should ignore SIGHUP in daemon mode #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch from Domas:
if (daemonize) {
   signal(SIGHUP,SIG_IGN);
}

Original issue reported on code.google.com by trond.no...@gmail.com on 11 Apr 2009 at 10:49

GoogleCodeExporter commented 9 years ago
I think I should write "+1 Me too!", but that would be inappropriate because:
a) code.google guards against that with their javascript
b) this patch originated from quite lengthy debugging :) 

Original comment by domas.mi...@gmail.com on 11 Apr 2009 at 10:51

GoogleCodeExporter commented 9 years ago
Please see http://github.com/trondn/memcached/tree/issue_44 for a complete 
patch with
test-case

Original comment by trond.no...@gmail.com on 11 Apr 2009 at 12:05

GoogleCodeExporter commented 9 years ago

Original comment by trond.no...@gmail.com on 11 Apr 2009 at 12:07

GoogleCodeExporter commented 9 years ago
Applied.  Thanks.

Original comment by dsalli...@gmail.com on 14 Apr 2009 at 2:37

GoogleCodeExporter commented 9 years ago
I also found a solution for Windows. Placed the details here: 
http://imak47.wordpress.com/tag/how-to-add-memcached-as-service/

Original comment by imraan.a...@gmail.com on 29 Jan 2012 at 8:10