- **Milestone**: 4.5.FC --> 4.6.FC


---

** [tickets:#581] OpenSAF daemons should terminate by calling exit()**

**Status:** unassigned
**Milestone:** 4.6.FC
**Created:** Tue Oct 01, 2013 08:49 AM UTC by Hans Feldt
**Last Updated:** Thu Jan 09, 2014 03:43 PM UTC
**Owner:** nobody

migrated from http://devel.opensaf.org/ticket/2615

 Two purposes:
- enable code coverage analysis, gcov requires a clean exit of the process to 
flush coverage data to file
- logging point

Solution: a common SIGTERM handler in daemon.c that logs and exit the process. 
Any daemon that wants to override this (e.g. amfnd) just install its own 
SIGTERM handler after calling daemonize()



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to