I read that to upgrade nginx involves among other things sending the USR2
signal with kill -USR2 pid
. So I tried sudo kill -USR2 3049
but got
$ sudo kill –USR2 3049
kill: failed to parse argument: '–USR2'
I was copy pasting from a website and that caused the wrong dash to be used.
sudo kill –USR2 3049
vs the correct dash (hypen):
sudo kill -USR2 3049