Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1342 Cleanup frontend codebase
  3. STOR-1355

The signal handler should consider also SIGTERM (currently it handles SIGINT)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.11.19
    • frontend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      The frontend installs a signal handler for SIGINT, whereas the default for systemd is SIGTERM.

      Change it in code, instead of specifying a different signal in the systemd unit.

      Note that an effect of the current situation is that when the SIGTERM signal is received, the frontend dies without doing a proper cleanup, including missing some final log statements.

            giaco Francesco Giacomini
            giaco Francesco Giacomini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: