Bug#821114: nginx: Please use KillSignal=SIGQUIT in systemd service
Laurent Bigonville
bigon at debian.org
Fri Apr 15 17:54:55 BST 2016
Package: nginx
Version: 1.6.2-3
Severity: normal
User: pkg-systemd-maintainers at lists.alioth.debian.org
Hi,
Wouldn't it be better to use KillSignal=SIGQUIT in the .service file
rather than using this hack?
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid
Is it necessary really necessary to send QUIT, then TERM and then KILL?
Cheers,
Laurent Bigonville
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-systemd-maintainers
mailing list