Cleanup frontend codebase
(STOR-1342)
|
|
Status: | Closed |
Project: | StoRM |
Component/s: | frontend |
Affects Version/s: | 1.11.19 |
Fix Version/s: | None |
Security Level: | Public (Visbile by non-authn users.) |
Type: | Sub-task | Priority: | Major |
Reporter: | Francesco Giacomini | Assignee: | Francesco Giacomini |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
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. |
Comments |
Comment by Francesco Giacomini [ 29/Mar/21 ] |