1. 30 Oct, 2013 1 commit
  2. 29 Oct, 2013 1 commit
  3. 24 Oct, 2013 1 commit
  4. 17 Oct, 2013 1 commit
  5. 16 Oct, 2013 4 commits
  6. 11 Oct, 2013 1 commit
  7. 08 Oct, 2013 1 commit
  8. 07 Oct, 2013 2 commits
  9. 27 Sep, 2013 3 commits
  10. 26 Sep, 2013 2 commits
  11. 20 Sep, 2013 3 commits
  12. 18 Sep, 2013 1 commit
    • Michele Tartara's avatar
      Perform proper cleanup on termination of Haskell daemons · 80adbbe1
      Michele Tartara authored
      
      
      Haskell deamons did not perform proper cleanup at termination. There was no code
      for removing the pid file, and the code in LuxiD for removing the unix socket
      file was not working, because it is implemented with a "finally" statement,
      which is executed only when the main loop of the daemon is exited (either
      normally, or through an exception), but not when it is terminated by a SIGTERM.
      
      This commit adds a proper handler for SIGTERM, which transforms it into a
      successful termination exception. This allows both the newly added cleanup code
      for pid files and the unmodified cleanup code for unix sockets to be executed.
      
      Fixes Issue 581 and 582.
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      80adbbe1
  13. 17 Sep, 2013 1 commit
  14. 16 Sep, 2013 3 commits
  15. 13 Sep, 2013 1 commit
  16. 12 Sep, 2013 2 commits
  17. 11 Sep, 2013 3 commits
  18. 09 Sep, 2013 2 commits
  19. 28 Aug, 2013 1 commit
  20. 27 Aug, 2013 1 commit
  21. 22 Aug, 2013 2 commits
  22. 21 Aug, 2013 2 commits
  23. 20 Aug, 2013 1 commit