Popularity
5.1
Declining
Activity
0.0
Stable
9
4
1

Monthly Downloads: 18
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: System    

graceful alternatives and similar packages

Based on the "System" category.
Alternatively, view graceful alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of graceful or a related project?

Add another 'System' Package

README

graceful

Library to write graceful shutdown / upgrade service.

Build Status

Install

$ cabal update
$ cabal install graceful

Controll Graceful Application

A graceful application can be controlled with signals. The master process supports the following signals

  • TERM/INT
    • fast shutdown
  • QUIT
    • graceful shutdown
  • HUP
    • restart workers
      1. starting new worker processes
      2. graceful shutdown old worker processes
  • USR2
    • upgrading an executable file (starting new master & worker processes)

Upgrading Executable on the Fly

  1. Send USR2
  2. Send QUIT to old process