Skip to content

Commit

Permalink
Handle SIGTERM in fast discovery server (#3381)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit 60fb557)

Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Mario-DL authored Apr 21, 2023
1 parent 3feef1a commit f18abf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/fds/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ int main (

// handle signal SIGINT for every thread
signal(SIGINT, sigint_handler);
signal(SIGTERM, sigint_handler);

// Print running server attributes
cout << "### Server is running ###" << endl;
Expand Down

0 comments on commit f18abf8

Please sign in to comment.