mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 15:01:21 +00:00
Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.
This commit is contained in:
parent
37318657e5
commit
f571dab0c6
@ -1,3 +1,8 @@
|
||||
2004-03-22 Hasso Tepper <hasso@estpak.ee>
|
||||
|
||||
* Readded SIGTERM handling so daemons can clean up their stuff if they
|
||||
are killed (not murdered).
|
||||
|
||||
2004-03-20 Michael Bruening <mike@vailsys.com>
|
||||
|
||||
* ospfd/ospf_vty.c: Completed array distribute_str of route types with
|
||||
|
@ -72,6 +72,10 @@ struct quagga_signal_t bgp_signals[] =
|
||||
.signal = SIGINT,
|
||||
.handler = &sigint,
|
||||
},
|
||||
{
|
||||
.signal = SIGTERM,
|
||||
.handler = &sigint,
|
||||
},
|
||||
};
|
||||
|
||||
/* Configuration file and directory. */
|
||||
|
@ -163,6 +163,10 @@ struct quagga_signal_t ospf_signals[] =
|
||||
.signal = SIGINT,
|
||||
.handler = &sigint,
|
||||
},
|
||||
{
|
||||
.signal = SIGTERM,
|
||||
.handler = &sigint,
|
||||
},
|
||||
};
|
||||
|
||||
/* OSPFd main routine. */
|
||||
|
@ -172,6 +172,10 @@ struct quagga_signal_t ripd_signals[] =
|
||||
.signal = SIGINT,
|
||||
.handler = &sigint,
|
||||
},
|
||||
{
|
||||
.signal = SIGTERM,
|
||||
.handler = &sigint,
|
||||
},
|
||||
};
|
||||
|
||||
/* Main routine of ripd. */
|
||||
|
@ -175,6 +175,10 @@ struct quagga_signal_t ripng_signals[] =
|
||||
.signal = SIGINT,
|
||||
.handler = &sigint,
|
||||
},
|
||||
{
|
||||
.signal = SIGTERM,
|
||||
.handler = &sigint,
|
||||
},
|
||||
};
|
||||
|
||||
/* RIPngd main routine. */
|
||||
|
@ -176,6 +176,10 @@ struct quagga_signal_t zebra_signals[] =
|
||||
.signal = SIGINT,
|
||||
.handler = &sigint,
|
||||
},
|
||||
{
|
||||
.signal = SIGTERM,
|
||||
.handler = &sigint,
|
||||
},
|
||||
};
|
||||
|
||||
/* Main startup routine. */
|
||||
|
Loading…
Reference in New Issue
Block a user