How to send USR2 signal?
15,073
Solution 1
I was copy pasting from a website and that caused the wrong dash to be used.
sudo kill –USR2 3049
sudo kill -USR2 3049
Solution 2
First invoke kill -l
to list all signals
in some destro USR2
is SIGUSR2
. also you can run it by it's number
Author by
user782220
Updated on June 04, 2022Comments
-
user782220 almost 2 years
I read that to upgrade nginx involves among other things sending the
USR2
signal withkill -USR2 pid
. So I triedsudo kill -USR2 3049
but got$ sudo kill –USR2 3049 kill: failed to parse argument: '–USR2'