]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-daemon-kill.pod
48c237b8d3a6052ab943a683f34288c6d5371943
[public-inbox.git] / Documentation / lei-daemon-kill.pod
1 =head1 NAME
2
3 lei-daemon-kill - signal the lei-daemon
4
5 =head1 SYNOPSIS
6
7 lei daemon-kill [-SIGNAL | -s SIGNAL | --signal SIGNAL]
8
9 =head1 DESCRIPTION
10
11 Send a signal to the L<lei-daemon(8)>.  C<SIGNAL> defaults to C<TERM>.
12
13 This command should be run after updating the code of lei.
14
15 =head1 SIGNALS
16
17 =over 8
18
19 =item SIGTERM
20
21 Send a graceful termination signal.  L<lei-daemon(8)> will exit
22 when all currently running lei commands are done.  The listen
23 socket will be released as soon as the signal is processed
24 so another L<lei-daemon(8)> process can take its place.
25
26 =item SIGKILL
27
28 Kills L<lei-daemon(8)> immediately.  Some worker processes may
29 remain running after a short while after this takes effect.
30
31 =back
32
33 =for comment
34 SIGQUIT and SIGINT currently do what SIGTERM do, may change...
35
36 =head1 CONTACT
37
38 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
39
40 The mail archives are hosted at L<https://public-inbox.org/meta/> and
41 L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
42
43 =head1 COPYRIGHT
44
45 Copyright all contributors L<mailto:meta@public-inbox.org>
46
47 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
48
49 =head1 SEE ALSO
50
51 L<lei-daemon-pid(1)>, L<lei-daemon(8)>