ggsn: Use SIGINT as this is handled in ggsn for fast termination

For some reason, it appears that if docker sends SIGTERM the default
action (kernel auto terminate) is not installed, but it expects the
program to handle it directly.  Let's tell docker to use SIGINT as
this is what ggsn always handled.
This commit is contained in:
Harald Welte 2017-08-20 12:54:01 +02:00
parent 453f690c97
commit 19c9c2b8b2
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
RUN_ARGS?=--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0--rm --network sigtran --ip 172.18.0.201 -v ggsn-vol:/data
RUN_ARGS?=--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0--rm --network sigtran --ip 172.18.0.201 -v ggsn-vol:/data --stop-signal SIGINT
include ../make/Makefile